[elm-discuss] Re: Why can't Elm do back-in-time debugging anymore? (Subscriptions vs Signals)

2017-11-25 Thread Mike MacDonald
It still supports most of the old time-travel functionality; the only thing gone is the ability to resume execution from a historical state. I do not think this is a technical limitation, but rather a decision made to simplify the debugging workflow. (Also, import/export is a super valuable

[elm-discuss] Using extensible records for optional attributes?

2017-08-01 Thread Mike Austin
I'm curious if it's possible to use extensible records for HTML attributes instead of lists of function application such as [id "foo", class "bar"]? I've poked around a bit, but didn't find too much on specifically this. For example, something along the lines of this: let x = anchor { href =

Re: [elm-discuss] Tuple indexing?

2016-12-27 Thread Mike MacDonald
out some of the packages where you've needed to use functions > that returned 3-tuples and larger where you only cared about one of the > values in the tuple? > > > > On Tue, Dec 27, 2016 at 10:55 AM, Mike MacDonald <craz...@gmail.com > > wrote: > >> I can'

Re: [elm-discuss] Tuple indexing?

2016-12-27 Thread Mike MacDonald
efined for 2-tuples is that it's > usually a better choice to use records if you have more than a couple > fields. > > If defining a record type alias and giving names to you're fields doesn't > work for your situation, can you give more details about why? > > On Dec 27, 2016 7:09

[elm-discuss] Re: Tuple indexing?

2016-12-27 Thread Mike MacDonald
I was assuming the mechanism used for records with a certain field (types like `{ a | field : t }` could be reused here, but maybe the internal storage of records and tuples is divergent. On Tuesday, December 27, 2016 at 11:38:24 AM UTC-5, Max Goldstein wrote: > > This solution would require

Re: [elm-discuss] What up with elm-mdl?

2016-12-22 Thread Mike MacDonald
That looks really nice. Even if one does not wish to use it directly, having examples of reusable ways to make such controls is hugely useful pedagogically. On Thursday, December 22, 2016 at 9:02:03 AM UTC-5, Dave Rapin wrote: > > What are your thoughts on elm-ui? I quite like it (prefer it to

[elm-discuss] Re: Proposal: rename foldl til foldLeft and foldr to foldRight

2016-10-26 Thread Mike MacDonald
Aliases could also remain forever, so people could choose which they prefer. However, this seems counter to the prevailing direction for Elm. On Wednesday, October 26, 2016 at 9:42:25 AM UTC-4, Robin Heggelund Hansen wrote: > > I think aliasing would just push the problem further into the

Re: [elm-discuss] OT: Elm Style formatting for other languages?

2016-10-19 Thread Mike MacDonald
Leading commas are a good idea, since the first non-whitespace character of a line tells you if it is a continuation. On Wednesday, October 19, 2016 at 12:58:17 PM UTC-4, Peter Damoc wrote: > > On Wed, Oct 19, 2016 at 3:02 PM, John Orford > wrote: > >> Commas beginning

[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] reactor with actual application urls?

2016-08-25 Thread mike
Hi, I'm just learning elm so forgive me if this is a stupid question. I'm attempting to build an app that has a list page and a detail page using the navigation package and am using reactor for dev time compilation. Currently, I've been loading the elm application with reactor(version 0.17.1)