example utils: improve types

This commit is contained in:
Michael Sippel 2021-05-03 19:55:29 +02:00
parent 1448f31cf4
commit 042fc6353c
Signed by: senvas
GPG key ID: F96CF119C34B64A6
4 changed files with 86 additions and 77 deletions
math/int2str/src

View file

@ -12,21 +12,21 @@ fn main() {
let mut f0 = unsafe { File::from_raw_fd(0) };
eprintln!("
> 0:
>0:
( )
( MachineInt )
( MachineWord )
( Array 8 MachineSlab )
( Pipe Shot (Array 8 MachineSlab) )
( Stream MachineSyllab )
");
eprintln!("
< 1:
<1:
( )
( Sequence (Digit 10) )
( Sequence ASCII )
( Sequence MachineSlab )
( Pipe Shot (Sequence MachineSlab) )
( PositionalInt 10 BigEndian )
( Sequence ( Digit 10 ) )
( Sequence UTF-8-Char )
( Stream UTF-8-Char )
( Stream MachineSyllab )
");
nested::magic_header();