3 ms·
> Who would ever start with dangerous_load? Haskellers. This is why you get lovely long and alarming names like `unsafePerformIO`
by ufo 14y ago
> Who would ever start with dangerous_load?
Haskellers. This is why you get lovely long and alarming names like `unsafePerformIO`
- rpearl 14y agoWhich, since it explicitly breaks type safety (you can write coerce :: a -> b with it), is an appropriate name for that function.
- mercurial 14y agoOn the other hand, for serialization/deserialization of a data type from format X to Haskell, you would not need a "dangerous_load" function, since the code would be pure.