Name: Anonymous 2014-02-18 12:34
Fuck, I've recently realized that Haskell can't even support the definition of an array. It only does this by foreign interfacing with C, with things like
(taken from the source of "array" from Hackage)
Please forgive me for all my posts on this forum where I've defended Haskell as if it's a good language. Unfortunately, despite its good type system and syntax it's just ab absolutely impractical and immature shitpile of a language.
foreign import ccall unsafe "memcpy"
memcpy_ba_ptr :: MutableByteArray# RealWorld -> Ptr a -> CSize -> IO (Ptr ())(taken from the source of "array" from Hackage)
Please forgive me for all my posts on this forum where I've defended Haskell as if it's a good language. Unfortunately, despite its good type system and syntax it's just ab absolutely impractical and immature shitpile of a language.