This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-23
Channels
- # announcements (1)
- # babashka (29)
- # beginners (53)
- # berlin (1)
- # cider (14)
- # clj-kondo (18)
- # cljsrn (16)
- # clojure (141)
- # clojure-france (4)
- # clojure-italy (8)
- # clojure-norway (1)
- # clojure-uk (57)
- # core-async (7)
- # cursive (3)
- # data-science (2)
- # datomic (12)
- # duct (5)
- # fulcro (27)
- # hoplon (37)
- # immutant (1)
- # jobs (2)
- # jobs-discuss (7)
- # kaocha (2)
- # leiningen (3)
- # music (17)
- # nyc (1)
- # off-topic (22)
- # pathom (27)
- # re-frame (33)
- # reitit (23)
- # shadow-cljs (20)
- # tools-deps (15)
- # vim (29)
non lavorero` piu` in lisp ma chi l'ha detto che non si puo` approssimarlo anche in ocaml :P
# let fnot x = [%quote not [%uu x]];;
val fnot : Reflect.Term.t -> Reflect.Term.t = <fun>
# fnot [%quote true];;
- : Reflect.Term.t = (not true)
# let fand x y = [%quote [%uu x] && [%uu y]];;
val fand : Reflect.Term.t -> Reflect.Term.t -> Reflect.Term.t = <fun>
# let term = fand (fnot [%q true]) [%q false];;
val term : Reflect.Term.t = (&& (not true) false)
# Reflect.eval term;;
:- false
si abbastanza molesta come sintassi