Add Encode typeclass

This commit is contained in:
Alexander Kobjolke 2023-10-17 15:27:39 +02:00
parent 5d02a9e424
commit 6dc02d4d3a
8 changed files with 214 additions and 16 deletions

10
test/doctest/Doctest.hs Normal file
View file

@ -0,0 +1,10 @@
-- | Rn the doctest executable
module Main where
import System.Process (callProcess)
doctest :: [String] -> IO ()
doctest = callProcess "doctest"
main :: IO ()
main = doctest ["--fast", "src"]

1
test/spec/Spec.hs Normal file
View file

@ -0,0 +1 @@
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}