Changeset 29
- Timestamp:
- May 15, 2014, 7:25:06 PM (11 years ago)
- Location:
- sizechecking/branches/macs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sizechecking/branches/macs/Proof.hs
r28 r29 1 {-# LANGUAGE TypeFamilies #-}1 {-# LANGUAGE TypeFamilies, Rank2Types #-} 2 2 3 3 module Proof where … … 11 11 import Prelude (String, Int, ($), (.)) 12 12 13 14 data ZContext = ZContext {}15 data Constraint16 newtype Z a = Z { unZ :: SizeExp }17 18 instance Size Q where19 instance Lambda Z where20 instance LOps Z where21 instance Exp Z where -
sizechecking/branches/macs/SizedFun.hs
r28 r29 57 57 type SizeExp Q = S SData 58 58 bind name size exp = exp 59
Note: See TracChangeset
for help on using the changeset viewer.