Jump to content

Define a primitive data type: Difference between revisions

m
Line 930:
fun:prim.fun:3:12: out of bounds
</pre>
Note that attempting to create a restricted typetypes isare not very good programming styleidiomatic in Ursala if all we really want is integer arithmetic with run-time bounds checking, which can be done more directly like this.
<lang Ursala>#import nat
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.