You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The map of builtins uses an (identifier, fixity) pair as the key, but the builtin functions themselves all take a list of terms, and there is no static guarantee that we are passing the right number of terms. That forces us to define a lot of unnecessary fall-through cases. See if we can make this type-safe with a heterogenous map implementation or some kind of dependent type mechanism.
The map of builtins uses an (identifier, fixity) pair as the key, but the builtin functions themselves all take a list of terms, and there is no static guarantee that we are passing the right number of terms. That forces us to define a lot of unnecessary fall-through cases. See if we can make this type-safe with a heterogenous map implementation or some kind of dependent type mechanism.
hasklog/src/Hasklog/Interpreter.hs
Lines 48 to 58 in aa7ff57
The text was updated successfully, but these errors were encountered: