type alias WithLoadedIndicator a =
{ a | isLoaded : Bool }
type alias WithSearchField a =
{ a | searchInput : String }
type alias Tags =
{ available : List Tag
, facets : List String
}
type alias Tag =
{ name : String
, value : String
}
let
ta =
Tags
[]
[ "subject", "professor", "school", "term", "class", "year" ]
in
(WithLoadedIndicator ta) False
I can't find any Elm reference for this type of type aliases in current Elm
syntax docs, but I remember they were once available.
Though I know how to use the concept and everything, Elm started to report
that WithLoadedIndicator type can't be found.
Why does this happen?
Is this because of a leak of a constructor function or is it my error in
code?
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.