LISP

LISPに投稿されたコード一覧

  • タグ:
  • タグはありません

Clojureで七並べ序章

;全自動モード (def AUTO_MODE false) ;プレイヤー人数 (def PLAYER_NUMB […]
;全自動モード (def AUTO_MODE false) ;プレイヤー人数 (def PLAYER_NUMB […]
;全自動モード
(def AUTO_MODE false)
;プレイヤー人数
(def PLAYER_NUMBER 4)
;パス回数
コードを見る

CommonLispで七並べ序章

;全自動モード (defconstant AUTO-MODE nil) ;プレイヤー人数 (defconsta […]
;全自動モード (defconstant AUTO-MODE nil) ;プレイヤー人数 (defconsta […]
;全自動モード
(defconstant AUTO-MODE nil)
;プレイヤー人数
(defconstant PLAYER-NUMBER 4)
;パス回数
コードを見る
  • タグ:
  • タグはありません

LISPのテスト

これでちゃんと出てるんでしょうか。 http://www2.ocn.ne.jp/~cheerful/script/xyzzy/library/text.html より。
これでちゃんと出てるんでしょうか。 http://www2.ocn.ne.jp/~cheerful/script/xyzzy/library/text.html より。
(defun get-protocol-string (URI)
  (let (from end protocol server port)
    (setq from (string-match "^[^:/]+" URI))
    (setq end (match-end 0) )
    (when (and from end)
コードを見る
  • タグ:
  • タグはありません