Extensible records / record types are failing in Elm 18
See original GitHub issueSup fellas, here’s an example:
iFail : Bla1 Bla2 -> String
iFail { bla2 } =
" ^ here I fail"
type alias Bla1 a =
{ a
| bla : Int
}
type alias Bla2 =
{ bla2 : Int }
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Extensible Records seems to be pruning fields and failing ...
I'm creating a type alias to a type record, but it's not compiling (see attached ... Extensible Records seems to be pruning fields...
Read more >Are extensible records useless in Elm 0.19?
For every custom extensible record type I would like to have a polymorphic analyzer (a function that extracts its base part) and a...
Read more >Advanced Types in Elm - Extensible Records - Charlie Koster
This post covers another so-called advanced type, extensible records. An… ... An extensible record is a record defined as “having at least certain...
Read more >Where lack of constructors for extensible records is hurting
So far, all code is valid Elm but I haven't defined any values (terms) of these flat record types. Setting aside JSON decoding...
Read more >Types of Types in Elm
One of the first things one comes across in Elm is record types. ... One thing I immediately liked about records in Elm...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Birowsky version 2.2.1 has some fixes related to record extension. After you give it a try, please follow-up on this issue whether the problem is fixed or not.
@klazuka Just checked, unfortunately, I still have all the errors in the screenshots. If I manage to isolate any of these, I’ll let you know.