Hi Rouan,
Even if you don't need to read the values, you might want to type check
that the values have expected types. That would require writing an
interface for creating such records. I only briefly looked at the
Mithril framework, but it seems you could adopt the same strategy as
in react bindings.
Otherwise you could use extensible records and unsafeCoerce:
```
data StrMap'
veryUnsafeStrMap' :: forall r. {|r} -> StrMap'
veryUnsafeStrMap' = unsafeCoerce
```
But writing proper bindings will pay of in the long run.
Regards,
Marcin
> --
> You received this message because you are subscribed to the Google Groups "purescript" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
purescript+...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/purescript.
> For more options, visit
https://groups.google.com/d/optout.