llvm-hs / llvm-hs-examples

Examples for Haskell bindings to LLVM
MIT License
70 stars 20 forks source link

remove unused argument in resolver #7

Closed kwibus closed 6 years ago

kwibus commented 6 years ago

Unless i am missing something, i looks like the example is more complicated then it need to be. resolver never uses its first argument, and there is no reason to mangle "add" twice.

cocreature commented 6 years ago

Good catch, thanks a lot!