Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
8
Task/Empty-string/Slope/empty-string.slope
Normal file
8
Task/Empty-string/Slope/empty-string.slope
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
(define test-string-1 "")
|
||||
(define test-string-2 "Not empty")
|
||||
|
||||
(define empty-string? (lambda (x)
|
||||
(and (string? x) (zero? (length x)))))
|
||||
|
||||
(empty-string? test-string-1) ; #t
|
||||
(empty-string? test-string-2) ; #f
|
||||
Loading…
Add table
Add a link
Reference in a new issue