Re: [elm-discuss] Confused type definition

2016-09-05 Thread John Bugner
You were probably confusing it with a type alias, which is often used with records, right? On Monday, September 5, 2016 at 9:28:49 PM UTC-5, Luis Fei wrote: > > Oh, it's just union types, got it, thank you, Janis > > On Monday, September 5, 2016 at 7:02:13 PM UTC+8, Janis Voigtländer wrote: >>

Re: [elm-discuss] Confused type definition

2016-09-05 Thread Luis Fei
Oh, it's just union types, got it, thank you, Janis On Monday, September 5, 2016 at 7:02:13 PM UTC+8, Janis Voigtländer wrote: > > Would you have been more comfortable if the definition would have been > like the following? > > type Config data msg = > ConfigConstructor > { toId : data ->

[elm-discuss] Re: Do the counters in the Guide teach us a wrong scaling approach?

2016-09-05 Thread Wouter In t Velt
After reading Josh Adams Time tracker SPA example something really clicked for me, and I feel I really "get it" now. I did not know what I needed and how to ask for it, but this was extremely helpful, and got me back on track! Also, I think my OP about the counters can be considered closed now.

[elm-discuss] Re: reactor with actual application urls?

2016-09-05 Thread mike
Thanks! Elm live is great! On Friday, August 26, 2016 at 10:47:15 AM UTC-7, Richard Feldman wrote: > > Check out elm-live - its --pushstate > flag is for exactly > this use case! :) > -- You received

[elm-discuss] Re: Introduction and architecture advice for navigation and routing

2016-09-05 Thread Bernardo
Regarding the view function being called twice, it seems inevitable as it's called on the click event and then on the urlUpdate. The example in the Navigation repo works like in your code and is also called twice. I don't think this has any practical implication as nothing is rendered twice.

[elm-discuss] Attempt to add functionality to `Url-Parser`

2016-09-05 Thread enetsee
Hi, I have taken a run at adding some more functionality to `evancz/url-parser` . The repo is *here .* (Note: I actually wrote this in F# originally and have only tested it in that environment. I will look to add

[elm-discuss] Charting library for Elm

2016-09-05 Thread Zachary Kessin
HI We are looking to do some more robust charting (D3 style with elm) are there any good packages out there. Most of the ones out there only seem to do line and pie charts. Is there something more advanced out there? Zach -- Zach Kessin SquareTarget

Re: [elm-discuss] Re: Basic behavioral composition

2016-09-05 Thread Rex van der Spuy
Hadn't noticed this section in the guide before. Great explanation > ... It's just been added :) -- 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] Confused type definition

2016-09-05 Thread Janis Voigtländer
Would you have been more comfortable if the definition would have been like the following? type Config data msg = ConfigConstructor { toId : data -> String , toMsg : State -> msg , columns : List (ColumnData data msg) , customizations : Customizations data msg } If yes,

[elm-discuss] Confused type definition

2016-09-05 Thread Luis Fei
Hello, I just tried to look into elm-sortable-table's source code, and this `Config` type got me confused https://github.com/evancz/elm-sortable-table/blob/master/src/Table.elm#L96-L102 I'll paste it here for convenience type Config data msg = Config { toId : data -> String , toMsg :

Re: [elm-discuss] Re: Basic behavioral composition

2016-09-05 Thread Wouter In t Velt
Hadn't noticed this section in the guide before. Great explanation! Thanks for sharing. Op vrijdag 2 september 2016 18:00:31 UTC+2 schreef suttlecommakevin: > > This new doc helps a ton. Thanks for this! > > http://guide.elm-lang.org/reuse/ > -- You received this message because you are