I have a elm object which returns value are as follows
type alias Info =
{ name : String
, stdId : stdKey
, pemId : PermanentKey
}
This info lies in a page named as class.elm
in another page i want to use the std key alone to do a if else comparison. i tied to assign the stdKey to a variable like as follows
uniKey = class.Info.stdId
But the elm doesn't accept this way . Kindly help.