Re: [elm-discuss] Idea / suggestion: Debug.todo - Fill gaps during prototyping

2016-09-01 Thread Joey Eremondi
This is basically the same as Typed Holes, which Haskell has. There was a proposal for this a while back (which I fully support). https://groups.google.com/forum/#!searchin/elm-dev/type$20holes%7Csort:relevance/elm-dev/_mS33Io74vs/qR0qESkyBwAJ On Thu, Sep 1, 2016 at 5:21 PM, Max Goldstein

Re: [elm-discuss] Idea / suggestion: Debug.todo - Fill gaps during prototyping

2016-09-01 Thread Max Goldstein
Debug.crash is used when you know a condition is impossible. I have a library where I sort a non empty list and do case analysis on the result. I call Debug.crash on the empty list case. It can't happen because sorting doesn't change the length of the list, but building that into the type

[elm-discuss] How to order imports?

2016-09-01 Thread John Bugner
Is there a "right" (de-jure or de-facto) way to order imports? If not, then how do you order them? As I see it, there's two kinds of imports: (1) local imports (Main, Engine, EnginePart, etc) (2) and standard imports (List, Dict, Maybe, etc) I put the local imports first, then an empty line,

Re: [elm-discuss] Idea / suggestion: Debug.todo - Fill gaps during prototyping

2016-09-01 Thread Nick H
I really like the compiler warnings. But the todo function seems redundant... Debug.crash has no other legitimate uses. On Thu, Sep 1, 2016 at 2:16 PM, Zinggi wrote: > Hi everyone, > > I just had this idea which I think would be awesome to have. > Basically I'd like to

[elm-discuss] Re: [ANN] elm-mdl 7.0.0 — supports all components of Material Design Lite

2016-09-01 Thread Joaquín Oltra
That list of credits is lovely and awesome. It is great to see such a rich list of collaborators. Congratulations on the release! -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it,

Re: [elm-discuss] Re: Design of Large Elm apps

2016-09-01 Thread Mark Hamburg
One nice thing that comes out of this architecture is that if one could run pieces on separate threads, it would split very naturally between the service side and the client side. The only ugly part is that in addition to moving data over whatever bridge we're using, we also need to move tagger

[elm-discuss] Broken link on Elm blog page.

2016-09-01 Thread Carlos De la Guardia
It looks like this link is broken: http://elm-lang.org/blog/escape-from-callback-hell -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [elm-discuss] Building a UI component library: the Elm compiler

2016-09-01 Thread OvermindDL1
Well get to PR'ing into `elm-mdl`, or make a new one based on `elm-parts` (which is what `elm-mdl` is built off of)? ^.^ On Thursday, September 1, 2016 at 12:22:31 PM UTC-6, Zachary Kessin wrote: > > I for one would love to see a really nice nestable component library > somewhat similar to

Re: [elm-discuss] Building a UI component library: the Elm compiler

2016-09-01 Thread Zachary Kessin
I for one would love to see a really nice nestable component library somewhat similar to the good parts of ExtJS in elm. The problem is that I think how to do that with a great API and in a type safe way is probably not as obvious as I think it is. I think it would need to have someone put 12-18

Re: [elm-discuss] Building a UI component library: the Elm compiler

2016-09-01 Thread Peter Damoc
I'll venture a personal opinion regarding your 4 questions: 1. Elm compiles to something like ECMAScript3 so... no modules in the output. Also, the JS output is designed to me more like an assembly kind of thing and it is planned to maybe someday move beyond JS. I don't think that Elm output was

[elm-discuss] Re: Elm shell aliases

2016-09-01 Thread suttlecommakevin
Mine: https://github.com/kevinSuttle/dotfiles/blob/master/aliases On Sunday, August 28, 2016 at 4:07:21 PM UTC-4, Max Goldstein wrote: > > Here's my list; I use about two-thirds of them regularly. > > https://github.com/mgold/dotfiles/blob/master/.aliases > > I also use git lg:

[elm-discuss] Building a UI component library: the Elm compiler

2016-09-01 Thread suttlecommakevin
*Forgive me if I have missed something or am asking about something that's been reposted frequently.* Let's use a simple example: a custom set of SVG icons, for use in Buttons. Here are my rookie questions: *Is the Elm compiler: * 1. aware of ES6 modules? - asking this because I'm not

[elm-discuss] Re: [ANN] elm-mdl 7.0.0 — supports all components of Material Design Lite

2016-09-01 Thread debois
Dear all, We've just released 7.6.0, adding upstream's new Chip component (courtesy of @vippenti). 7.6.0 also contains performance improvements and a host of bugfixes. Enjoy! - Live demo - Release notes

[elm-discuss] Problem with SVG icons

2016-09-01 Thread Yosuke Torii
Hi, I have a question about SVG icons. I found both elm-community/elm-material-icons and jystic/elm-font-awesome have the same problem. When icons are small, they do not fit to their container components. SSCCE (using elm-font-awesome): - Source

Re: [elm-discuss] Feature proposal: Html.none

2016-09-01 Thread Oliver Searle-Barnes
This is something that comes up a lot in the #beginners channel. After seeing Cmd.none and Sub.none people instinctively reach for Html.none for conditionally rendered parts of the view and are surprised when it doesn't exist. Using `text ""` is a great practical solution but Html.none is