Compiler.ModuleName
A module for working with Gren module names.
type ModuleName
Constructors
fromString :
String -> Maybe ModuleName
Construct a ModuleName from a String
. Will return Nothing
if the String
doesn't represent a valid ModuleName.
jsonDecoder :
Decoder ModuleName
JSON Decoder for ModuleName.
Conversions
toString :
ModuleName -> String
String
representation for ModuleName.
toJson :
ModuleName -> Value
JSON Encoder for ModuleName.