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

6.11 Builder #3

Open
c71n93 opened this issue Nov 17, 2022 · 0 comments
Open

6.11 Builder #3

c71n93 opened this issue Nov 17, 2022 · 0 comments

Comments

@c71n93
Copy link
Member

c71n93 commented Nov 17, 2022

In this chapter, the examples use partial application.

In first example usage of partial application is obvious:

[args...] > app
  triangle > triangleA
    10:a
  triangleA > triangleABC
    7:b
    8:c
  triangleABC > triangleABCNamed
   "My Triangle":name
  triangle > triangleNamed
    "My Another Triangle":name

In second example we use partial application in subbuilder's attributes setA, setB, setC. Here we apply only one free attribute out of four.

[aVal] > setA
  ^.^.subbuilder > @
    ^.^.triangleEntity
      (^.validateSide aVal):a

Full examples can be found in the paragraph 6.11

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

No branches or pull requests

1 participant