atzedijkstra / logict-state

Library for logic programming based on haskell package logict
BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

Lift variable not in scope #4

Closed Simarra closed 2 years ago

Simarra commented 2 years ago

Hello, and thanks for your work, The package seems to be not working, and my skills in Haskell arent good enought to suggest a fix; But it seems to be related to lift

simara@specternixos ~/D/d/logict-state-master [1]> cabal --enable-nix build Build profile: -w ghc-8.10.7 -O1 In order, the following will be built (use -v for more details):

src/Control/Monad/LogicState/Logic.hs:20:21: error: Variable not in scope: lift :: m a -> LogicT m a | 20 | liftWithState m = lift $ m () >>= (return . fst)

atzedijkstra commented 2 years ago

this is now building ok, with ghc 8.10.7