shithub: mc

Download patch

ref: 386289ecc114a0c012c71118ac45a8cf5dc52004
parent: cc61b84219f29c4bf874e579986ef77bcc6a0ad3
author: Ori Bernstein <[email protected]>
date: Mon Feb 17 17:51:42 EST 2014

rename mkbitset -> mkbs

    More consistent API. should probably name it bsmk() though, for
    consistency with all other functions.

--- a/libstd/bitset.myr
+++ b/libstd/bitset.myr
@@ -9,7 +9,7 @@
 		bits : size[:]
 	;;
 
-	const mkbitset	: (-> bitset#)
+	const mkbs	: (-> bitset#)
 	const bsdup	: (bs : bitset# -> bitset#)
 	const bsfree	: (bs : bitset# -> void)
 
@@ -28,7 +28,7 @@
 	const bsiter	: (bs : bitset# -> bitset#)
 ;;
 
-const mkbitset = {
+const mkbs = {
 	-> zalloc()
 }