Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add (liii cut) and (srfi srfi-26) #180

Merged
merged 3 commits into from
Nov 25, 2024
Merged

Add (liii cut) and (srfi srfi-26) #180

merged 3 commits into from
Nov 25, 2024

Conversation

Ancker-0
Copy link
Contributor

Implement cut as specified in srft-26. cute is left unimplemented. #129

goldfish/srfi/srfi-26.scm Outdated Show resolved Hide resolved
@Ancker-0
Copy link
Contributor Author

License 加上了

(error 'syntax-error "<...> must be the last parameter of cut"))
(let ((parsed (parse xs paras)))
`(lambda (,@xs . ,rest) (apply ,@parsed)))))))
(define-macro (cute . paras)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

空行隔开两个函数

Copy link
Contributor

@da-liii da-liii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@da-liii da-liii merged commit 8e6131f into LiiiLabs:main Nov 25, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants