diff options
author | tomsmeding <tom.smeding@gmail.com> | 2019-05-11 22:49:50 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2019-05-11 22:49:50 +0200 |
commit | b2d9c2b8e971a63de1a5be36e01068f3bc03f054 (patch) | |
tree | 9b04cb8833dc2fd24a91356a280cf161f7af0f31 /Lattice.hs | |
parent | b6720c744c642048f93e04a3a2d4b6895d8b2c83 (diff) |
Liveness analysislower-to-isa
Diffstat (limited to 'Lattice.hs')
-rw-r--r-- | Lattice.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Lattice.hs b/Lattice.hs new file mode 100644 index 0000000..574c123 --- /dev/null +++ b/Lattice.hs @@ -0,0 +1,9 @@ +module Lattice where + + +class Eq a => Lattice a where + join :: a -> a -> a + bottom :: a + + joinList :: [a] -> a + joinList = foldl join bottom |