funcool / funcool/urania

let-like syntactic abstraction

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
140
Forks
15
PR merge metrics
No merged PRs in 30d

Description

A let-like macro for declaring fetches withouth worrying about dependencies:

``` clojure
(flet [posts (latest-posts 10)
post-scores (u/traverse score posts)
authors (u/traverse user posts)]
(map (fn [post score author]
(merge post {:author author :score score}))
posts
post-scores
authors))
```

which will be translated to calls to the combinators under the hood, resolving the data dependencies based on the code.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.