-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
brady.ouren
committed
Dec 20, 2024
1 parent
76cf5e7
commit 83afc00
Showing
2 changed files
with
54 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
;; comment | ||
(slice? "blockstack" u5 u10) ;; Returns (some "stack") | ||
(slice? (list 1 2 3 4 5) u5 u9) ;; Returns none | ||
(slice? (list 1 2 3 4 5) u3 u4) ;; Returns (some (4)) | ||
(slice? "abcd" u1 u3) ;; Returns (some "bc") | ||
(slice? "abcd" u2 u2) ;; Returns (some "") | ||
(slice? "abcd" u3 u1) ;; Returns none | ||
;; whatever | ||
;;asdf asdf |