This is a prototype of a code synthesis plugin for GHC, which uses LJT proof search to instantiate a type.
{-# OPTIONS_GHC -fplugin=GHC.JustDoIt.Plugin #-}
module Test where
import GHC.JustDoIt
foo :: ((a -> r) -> r) -> (a -> ((b -> r) -> r)) -> ((b -> r) -> r)
foo = (…)
If someone wants to pick it up from here, that’d be great!
Please reports bugs and missing features at the GitHub bugtracker. This is also where you can find the source code.
ghc-justdoit was written by Joachim Breitner and is licensed under a
permissive MIT license.
Haskell
100.0%
This is a prototype of a code synthesis plugin for GHC, which uses LJT proof search to instantiate a type.
{-# OPTIONS_GHC -fplugin=GHC.JustDoIt.Plugin #-}
module Test where
import GHC.JustDoIt
foo :: ((a -> r) -> r) -> (a -> ((b -> r) -> r)) -> ((b -> r) -> r)
foo = (…)
If someone wants to pick it up from here, that’d be great!
Please reports bugs and missing features at the GitHub bugtracker. This is also where you can find the source code.
ghc-justdoit was written by Joachim Breitner and is licensed under a
permissive MIT license.
Haskell
100.0%