书栈网 · BookStack 本次搜索耗时 0.019 秒,为您找到 33 个相关结果.
  • 数据类型

    数据类型 来自 JavaScript 的数据类型 ClojureScript 其他常用的类型 类型转换 自定义类型 数据类型 可以通过 (type x) 来获取 x 的类型. 来自 JavaScript 的数据类型 nil , 对应 null Number Boolean String RegExp cljs 当中正则的语法是...
  • First taste of Clojure

    488 2020-06-21 《Practicalli Clojure》
    Clojure Quick Reference Calling functions Hint::Prefix notation and parens Understanding functions Strongly typed under the covers Modeling data with Collection types Hint::Pe...
  • 互操作

    JavaScript 互操作 JavaScript 互操作 调用宿主语言代码最直接的办法就是通过 interop.JavaScript 的全局变量可以通过 js 命名空间访问.对象的方法调用可以写成: (. log js / console "demo" ) ; console . log ( 'demo' ) 访问对象的属性需要...
  • Clojure Aware Editors

    703 2020-06-21 《Practicalli Clojure》
    Clojure development environment guides Chlorine ProtoREPL Proton - alternative menu and configuration approach Hint::Requires license for commercial development Clojure dev...
  • VSCode Calva

    970 2020-06-21 《Practicalli Clojure》
    Microsoft VSCode and Calva extension Install VS Code Running VSCode Running VSCode Running VSCode Running VSCode Install Calva extension HINT::No restart required Micros...
  • Clojure Big Ideas

    690 2020-06-21 《Practicalli Clojure》
    Ten Big Ideas plus one Presentation slides (pdf format) Ten Big Ideas plus one The key to understanding Clojure is ideas, not language constructs but the concepts that shape t...
  • 单元测试

    单元测试 shadow-cljs boot-test JVM 单元测试 ClojureScript 的测试和 Clojure 语法类似, 通过 cljs.test 来提供.首先需要引用下面这些函数或者 Macros: ( ns my - project . tests (: require [ cljs . test : ...
  • 不可变数据

    不可变数据 不可变数据 ClojureScript 中默认采用不可变数据作为底层实现. cljs 当中实现了 Persistent Data Structure,虽然是不可变数据, 但创建新数据一般会进行结构复用,也就是说, 比如下面这个例子, b 在内部实现中就可以复用 a 的某些部分 ( def a {: a 1 : b 2 ...
  • Who uses Clojure

    782 2020-06-21 《Practicalli Clojure》
    Who uses Clojure Tech Radar Who uses Clojure Over 175 companies have actively advertised their Clojure adoption, and given the broad participation in user groups there are cl...
  • Unit Testing - Testing Clojure

    858 2020-06-21 《Practicalli Clojure》
    Testing in Clojure TODO::work in progress, sorry Unit Test style frameworks Behaviour Driven Development frameworks Performance testing Articles on testing in Clojure Test...