on master help sign in
case
2021714drbeefsupreme
arvo/clay/data-types.md+10−6
@@ -268,14 +268,18 @@ efficient conversion for when the heavier node is needed.
268 [fil=(unit item) dir=(map @ta $)]
268 [fil=(unit item) dir=(map @ta $)]
269```
269```
270
270
271−#### `++case:clay`, specifying a commit
271+#### `$case`, specifying a commit
272
272
273```hoon
273```hoon
274− ++ case :: ship desk case spur
274++$ case
275− $% [%da p=@da] :: date
275+ $% :: %da: date
276− [%tas p=@tas] :: label
276+ :: %tas: label
277+ :: %ud: sequence
278+ ::
279+ [%da p=@da]
280+ [%tas p=@tas]
277− [%ud p=@ud] :: number
281+ [%ud p=@ud]
278− == ::
282+ ==
279```
283```
280
284
281A commit can be referred to in three ways: `%da` refers to the commit
285A commit can be referred to in three ways: `%da` refers to the commit