Skip to content

trivial let-where Clojure macro to allow let bindings following code forms a la Haskell.

Notifications You must be signed in to change notification settings

PlumpMath/let-where

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

let-where

This is a toy to familiarize myself with Clojure workflow. It may prove useful to someone.

Macro 'let-where' to allow let bindings to follow code forms like Haskell's 'where' keyword."

Usage

    (let-where forms :where bindings)

Example

    (let-where
      (do (println s)
          (println t))
      :where [s "howdy neighbor!"
              t "how you doing?"])

License

Copyright © 2013 Christopher Rooney

Distributed under the Eclipse Public License, the same as Clojure.

About

trivial let-where Clojure macro to allow let bindings following code forms a la Haskell.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%