Skip to content

Commit 01a2852

Browse files
committed
Add name hints for streams
1 parent 6511e44 commit 01a2852

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

experiments/idris/src/Fathom/Base.idr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,28 @@ public export
5252
BitStream : Type
5353
BitStream = Colist Bool
5454

55+
%name BitStream stream
56+
5557

5658
||| A possibly infinite stream of bytes
5759
public export
5860
ByteStream : Type
5961
ByteStream = Colist Bits8
6062

63+
%name ByteStream stream
64+
6165

6266
||| A finite bit buffer
6367
public export
6468
BitBuffer : Type
6569
BitBuffer = List Bool
6670

71+
%name BitBuffer buffer
72+
6773

6874
||| A finite byte buffer
6975
public export
7076
ByteBuffer : Type
7177
ByteBuffer = List Bits8
78+
79+
%name ByteBuffer buffer

0 commit comments

Comments
 (0)