function patternOne(context) {
if (!match(context) throw new Error("Can't apply this pattern")
// Modify the context
return modifiedContext
}
const endContext = take(context)
.apply(patternOne)
.apply(patternTwo)
.apply(patternThree)
-
Notifications
You must be signed in to change notification settings - Fork 0
hanbzu/tinyalex
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Fooling around with Christopher Alexander concepts with pseudocode
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published