mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 13:39:14 +00:00
74aaf3b321
These Haskell bindings make large use of c2hs to generate much of the code, so Unicorn's const_generator is not used. The emulator is based on the Either monad transformer. The IO monad is used to run the underlying Unicorn library, while the Either monad is used to handle errors. Instructions on how to build the bindings are located in bindings/haskell/README.TXT. The same samples found in samples/ can be found in bindings/haskell/samples. They should produce the same output, with slight differences in their error handling and messaging.
2 lines
46 B
Haskell
2 lines
46 B
Haskell
import Distribution.Simple
|
|
main = defaultMain
|