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 isRec operator #167

Merged
merged 4 commits into from Oct 22, 2020
Merged

Add isRec operator #167

merged 4 commits into from Oct 22, 2020

Conversation

yannham
Copy link
Member

@yannham yannham commented Oct 13, 2020

Required to address #157. Add an isRec operator which determines if its argument is a record, completing the already existing isBool, isStr, isList, etc.

@@ -162,6 +162,7 @@ UOp: UnaryOp<RichTerm> = {
"isStr" => UnaryOp::IsStr(),
"isFun" => UnaryOp::IsFun(),
"isList" => UnaryOp::IsList(),
"isRec" => UnaryOp::IsRec(),
Copy link
Member

Choose a reason for hiding this comment

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

Please, please, please, pretty please: name it "isRecord". I keep reading “is recursive” 🙂 .

@edolstra edolstra merged commit bef3c14 into master Oct 22, 2020
@edolstra edolstra deleted the feature/add-isrec branch October 22, 2020 12:52
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.

None yet

3 participants