open:numbers

Numbers

(ns clojure.examples.hello
   (:gen-class))

;; This program displays Hello World
(defn Example []
   (def x 5)
   (def y 5.25)
   (println (type x))
   (println (type y)))
(Example)

Output

Java.lang.long
Java.lang.double

  • open/numbers.txt
  • 마지막으로 수정됨: 2021/11/23 00:10
  • 저자 127.0.0.1