clystar
Version, currently main branch1 version
- main branchlatestNov 2, 2021
github.com/yvern/clystar
functional facilites for crystal, inspired by clojure
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
clystar:
github: yvern/clystar
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.2.1- License
- MIT
- Author
- yvern
Dependencies
Development Dependencies
- watch*github: danreeves/watchdev
README
clystar
Basic Functional routines for Crystal, inspired by Clojure
Installation
-
Add the dependency to your
shard.yml:dependencies: clystar: github: yvern/clystar -
Run
shards install
Usage
require "clystar"
juxtmacro (vararg): turnsjuxt T, f, g, hinto->(x : T){ f(x), g(x), h(x) }pipemacro (vararg): turnspipe T, f, g, hinto->(x : T){ h(g(f(x))) }>>operator (forProcs, binary forward composition): turns->f(T) >> ->g(U)into->(x : T){ g(f(x)) }
Development
shards installcrystal watch.cr- add your new features!
Contributing
- Fork it (https://github.com/yvern/clystar/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- yvern - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Nov 2, 2021
- Crystal
1.2.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/yvern/clystar
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 1