루

  • 홈
  • 태그
  • 방명록

전체 글 13

Clojure에서 python 문법을 쓰는 법

(defmacro py [expression for x in arr] `(map (fn [~x] ~expression) ~arr)) (py (* 2 x) for x in '(1,2,3)) clojure는 바로 macro주의 낙원을 말하는 것입니다 여러분. 참고 매크로 · 초보자를 위한 클로저 What makes Lisp macros so special? - Stack Overflow

PRGRM/Clojure 2021.08.17

(유머) JS 연산자 오버로딩

const a = new MyArray(1, 2, 3); const b = new MyArray(5, 6, 7); console.log(a); console.log(b); const c = a . b; console.log(c); const MyArray = new Proxy(function() {}, { constructor(f, args, target) { const array = new Array(...args); const proxy = new Proxy(array, { get(target, prop) { if(prop === '__array__') return array; reurn new Array(...array.concat(eval(prop).__array__)); } }); return ..

PRGRM/JS 2021.08.17

새블로그

블로그 만들기 귀찮다. tistory 쓴다.

블로그 2021.08.17
1 2
더보기
프로필사진

  • 분류 전체보기 (13)
    • 블로그 (1)
    • PRGRM (8)
      • JS (4)
      • Clojure (1)
      • Haskell (2)
      • ML (1)
      • Web (0)
    • SemiP2P (홈서버 구축) (4)

Tag

라즈베리파이, nodejs, hooks, 연산자오버로딩, react, create-react-app, Applicative, JS, 유머?, Clojure, ML, Docker, 새블로그, 홈서버, Functor, cnn, WebDAV, 효율성, monad, haskell,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/10   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바