Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
toProbe :: forall e fn. (Typeable fn, ToProbe fn e) => fn -> Probe e Source #
Converts any suitable function to a Probe
class ToProbe fn e where Source #
Class of functions that can be converted to a Probe
apply :: Proxy e -> fn -> [In e] -> IO (Out e) Source #
Read arguments from a list, apply them to a function, and encode the result