Is there a way to get a OsChar literal more conveniently than osp + head
Haskell Community [Unofficial]
June 4, 2026
unsafeFromChar isn’t equivalent to osp + head, if i give it a invalid literal i will get a compile time error, unsafeFromChar will just fail silently as it truncates the bytes. I guess if i give osp the empty string then it also fails at runtime but it atleast will raise an exception
Discussion in the ATmosphere