GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — GitHub - qerub/defstar: [Clojure] Experiment in macrology / Alternative definition form based on Racket's Folders and files
Repository files navigation;; def* (pronounced defstar) ;; ;; An experiment in macrology and in an ;; alternative definition form for Clojure ;; based on Racket's define ;; ;; Not to be confused with ;; https://bitbucket.org/eeeickythump/defstar ;; ;; - - - - - - - - - - - - - - - - - - - - - - (use 'defstar.core) ;; It can define anything: (def* n 42) ;; It can define functions: (def* (f x) (+ x n)) ;; It can define curried functions: (def* ((adder x) y) (+ x y)) ((adder 1) 2) ; => 3 ;; It supports local definitions: (def* (f x) (def n 42) (* n x)) (def* (f x) (def* (a x) (+ x 2)) (def* (b x) (* x 2)) (->> x a b)) ;; - - - - - - - - - - - - - - - - - - - - - - ;; ;; Copyright (c) 2014 Christoffer Sawicki About[Clojure] Experiment in macrology / Alternative definition form based on Racket's ResourcesReleasesPackagesContributorsLanguages | ||||||||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | ||||||||||||||||||||||||||||||||||||||