on master help sign in
Merge pull request #1608 from edwinb/nomalloc
404d25fEdwin Brady
libs/prelude/Builtins.idr−6
@@ -109,12 +109,6 @@ par : Lazy a -> a -- Doesn't actually do anything yet. Maybe a 'Par a' type
109 -- is better in any case?
109 -- is better in any case?
110par (Delay x) = x
110par (Delay x) = x
111
111
112−malloc : Int -> a -> a
113−malloc size x = x -- compiled specially
114−
115−trace_malloc : a -> a
116−trace_malloc x = x -- compiled specially
117−
118||| Assert to the totality checker than y is always structurally smaller than
112||| Assert to the totality checker than y is always structurally smaller than
119||| x (which is typically a pattern argument)
113||| x (which is typically a pattern argument)
120||| @ x the larger value (typically a pattern argument)
114||| @ x the larger value (typically a pattern argument)