Skip to content

Commit 463e048

Browse files
committed
Maps: partial_map -> PartialMap
1 parent dfafabe commit 463e048

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Maps.lidr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,13 +328,13 @@ Finally, we define _partial maps_ on top of total maps. A partial map with
328328
elements of type \idr{a} is simply a total map with elements of type \idr{Maybe
329329
a} and default element \idr{Nothing}.
330330

331-
> partial_map : Type -> Type
332-
> partial_map a = TotalMap (Maybe a)
331+
> PartialMap : Type -> Type
332+
> PartialMap a = TotalMap (Maybe a)
333333
>
334-
> empty : partial_map a
334+
> empty : PartialMap a
335335
> empty = t_empty Nothing
336336
>
337-
> update : (x : Id) -> (v : a) -> (m : partial_map a) -> partial_map a
337+
> update : (x : Id) -> (v : a) -> (m : PartialMap a) -> PartialMap a
338338
> update x v m = t_update x (Just v) m
339339
>
340340

0 commit comments

Comments
 (0)