Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
RohanVashisht1234 committed Jun 12, 2024
1 parent e500482 commit 8429fca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test.bend
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
def String/concat(a, b):
# Concatenate Variables
match a:
case String/Cons:
return String/Cons(a.head, String/concat(a. tail, b))
case String/Nil:
return b
case String/Cons:
return String/Cons(a.head, String/concat(a.tail, b))
case String/Nil:
return b


def main(s):
Expand Down

0 comments on commit 8429fca

Please sign in to comment.