From 46d94d86705a7fd0a7c5d0d7c6a74f11669641ca Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Mon, 27 Oct 2025 16:26:55 +0100 Subject: Add more tests and references --- lambda-calcul/haskell/test/Minilang/Lambda/ParserSpec.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lambda-calcul/haskell/test/Minilang/Lambda/ParserSpec.hs') diff --git a/lambda-calcul/haskell/test/Minilang/Lambda/ParserSpec.hs b/lambda-calcul/haskell/test/Minilang/Lambda/ParserSpec.hs index d4c90bd..5d3e8ab 100644 --- a/lambda-calcul/haskell/test/Minilang/Lambda/ParserSpec.hs +++ b/lambda-calcul/haskell/test/Minilang/Lambda/ParserSpec.hs @@ -13,6 +13,9 @@ import Test.Hspec (Spec, parallel, shouldBe) import Test.Hspec.QuickCheck (prop) import Test.QuickCheck (Arbitrary (..), Gen, NonEmptyList (..), counterexample, elements, forAll, forAllShrink, listOf, oneof, resize, sized, (===), (==>)) +-- ((f x) y) --> (f x y) +-- (lam (x) (lam (y) y)) --> (lam (x y) y) + spec :: Spec spec = parallel $ do prop "parses an identifier as a variable" $ \(Identifier ident) -> -- cgit v1.2.3