-
csv ํ์ผ์ Excel ํ๋ก๊ทธ๋จ์์ ์ฝ์ด ๋ค์ผ ๋, ํน์ ์นผ๋ผ์ ํ ์คํธ ๋ฐ์ดํฐ๋ฅผ ๋ ์ง ๋ฐ์ดํฐ๋ก ์๋ชป ์ฝ์ด๋ค์ด๋ ๊ฒฝ์ฐ๊ฐ ์๋ค. ์ด๋ฐ ํ์์ ๊ทผ๋ณธ์ ์ผ๋ก ํด๊ฒฐํ ์ ์๋ ๋ฐฉ๋ฒ์ ๊ณต์ ํ๊ณ ์ ํ๋ค.
-
์ฐธ๊ณ ๋ก ๋ค์์ ์๊ฐํ๋ ๋ฐฉ๋ฒ์,
Microsoft 365 online 2025๋ version์ ๋์์ผ๋ก ์คํํ๋ค.-
Excel ํ๋ก๊ทธ๋จ์ ์คํํ๋ค.
-
์ด ์ํ์์ .csv ํ์ผ์ ์ง์ ์ด์ง ์๊ณ , ๋ฉ๋ด ์์
[๋ฐ์ดํฐ > ๋ฐ์ดํฐ ๊ฐ์ ธ์ค๊ธฐ(ํ์ ์ฟผ๋ฆฌ)]๋ฅผ ์ ํํ๋ค. -
[๋ฐ์ดํฐ ์๋ณธ ์ ํ]ํ๋ฉด์์[ํ ์คํธ/CSV]ํญ๋ชฉ์ ์ ํํ๋ค.
-
| = Excel์์ ํ ์คํธ ๋ฐ์ดํฐ๋ฅผ ๋ ์ง ๋ฐ์ดํฐ๋ก ์ค์ธํ๋ ํ์ ๋ฐฉ์งํ๊ธฐ | |
| * csv ํ์ผ์ Excel ํ๋ก๊ทธ๋จ์์ ์ฝ์ด ๋ค์ผ ๋, ํน์ ์นผ๋ผ์ ํ ์คํธ ๋ฐ์ดํฐ๋ฅผ ๋ ์ง ๋ฐ์ดํฐ๋ก | |
| ์๋ชป ์ฝ์ด๋ค์ด๋ ๊ฒฝ์ฐ๊ฐ ์๋ค. ์ด๋ฐ ํ์์ ๊ทผ๋ณธ์ ์ผ๋ก ์๋ฐฉํ ์ ์๋ ๋ฐฉ๋ฒ์ ์๊ฐํ๋ค. | |
| * ์ฐธ๊ณ ๋ก ๋ค์์ ์๊ฐํ๋ ๋ฐฉ๋ฒ์, ``Microsoft 365 online 2025๋ version``์ ๋์์ผ๋ก ์คํํ๋ค. | |
| . Excel ํ๋ก๊ทธ๋จ์ ์คํํ๋ค. | |
| . ์ด ์ํ์์ .csv ํ์ผ์ ์ง์ ์ด์ง ์๊ณ , ๋ฉ๋ด ์์ ``[๋ฐ์ดํฐ > ๋ฐ์ดํฐ ๊ฐ์ ธ์ค๊ธฐ(ํ์ ์ฟผ๋ฆฌ)]``๋ฅผ ์ ํํ๋ค. | |
| . `[๋ฐ์ดํฐ ์๋ณธ ์ ํ]` ํ๋ฉด์์ `[ํ ์คํธ/CSV]` ํญ๋ชฉ์ ์ ํํ๋ค. |
Ubuntu 19.10์์ Visual Studio Code ์ฌ์ฉ ์ค ํ์ ์ ํํค๋ฅผ ๋๋ฅด๊ณ ํ๊ธ์ ์
๋ ฅํ๋ ค ํ๋๋,
ํ๊ธ ์
๋ ฅ์ด ์๋๊ณ ์์ด๋ง ๊ณ์ ์
๋ ฅ๋๋ ํ์์ ๋ฐ๊ฒฌํ๋ค. ๊ทธ๋์ ์ธํฐ๋ท์ ๊ฒ์ํด ๋ดค๋๋
snap ํ์์ Visual Studio Code๋ฅผ ์ค์นํ ๊ฒฝ์ฐ์, Ubuntu์ ์
๋ ฅ๊ธฐ์ธ IBus์ ์ถฉ๋ํด์ ์ผ์ด๋๋
ํ์์ด๋ผ๊ณ ํ๋ค. ๊ทธ๋ฐ๋ฐ .deb ํ์์ Visual Studio Code๋ฅผ ์ค์นํ ๊ฒฝ์ฐ์๋ ๊ทธ๋ฐ ๋ฌธ์ ๊ฐ
์๋ค๋ ์ฌ์ค์ ์๊ฒ ๋์ด, ์ค์นํด ๋ดค๋๋ ํ๊ธ ์
๋ ฅ์ด ์ ์์ ์ผ๋ก ์ด๋ฃจ์ด์ง๋ ๊ฒ์
ํ์ธํ๋ค. ๊ทธ๋์ ๊ฐ์ ๋ฌธ์ ๋ฅผ ๊ฒช๋ ์ฌ๋๋ค์ ์ํด ์ด ํด๊ฒฐ๋ฒ์ ๊ณต์ ํ๊ณ ์ ํ๋ค.
-
๋จผ์ ์ด๋ฏธ ์ค์น๋์ด ์๋ snap ํ์์ Visual Studio Code๋ฅผ ์ ๊ฑฐํ๋ค.
transducer๊ฐ ์ด๋ค ๋ฐฉ์์ผ๋ก ์๋ํ๋์ง ์๊ธฐ ์ํด ํ
์คํธ ์ฝ๋๋ฅผ ์์ฑํ์ต๋๋ค. ์๋์ my-filter, my-map, my-conj๋ ๊ฐ๊ฐ clojure.core์ filter, map, conj ํจ์์ ๋ด์ฉ ์ผ๋ถ๋ฅผ ์ด ํ
์คํธ๋ฅผ ์ํด ์ฝ๊ฐ ์์ ํ ๊ฒ์
๋๋ค. ์ฝ๋๊ฐ ์ฝ๊ฐ ๊ธธ๊ธฐ๋ ํฉ๋๋ค๋ง, ์ฐฌ์ฐฌํ ์ฝ์ด ๋ณด๋ฉด ์ดํดํ๊ธฐ ์ด๋ ค์ด ์ฝ๋๋ ์๋๋๋ค.
|
Tip
|
์ฐธ๊ณ ๋ก, ์๋์์ outer-fn-in-์ผ๋ก ์์ํ๋ ํจ์๋ transducer์ด๊ณ ,
inner-fn-in-์ผ๋ก ์์ํ๋ ํจ์๋ reducing function์
๋๋ค. Clojure์์๋ ๋ฌด๋ช
ํจ์์๋
์ด์๊ฐ์ด ์ด๋ฆ์ ๋ถ์ผ ์ ์์ต๋๋ค. ์๋์ฒ๋ผ ๋๋ฒ๊น
ํ ๋ ์๊ธดํฉ๋๋ค.
|
Clojure์ reify๋ผ๋ ํจ์๊ฐ ์๋ค. ์ด ๋จ์ด๋ '๊ตฌ์ฒดํ ์ํค๋ค', '์ค์ฒดํํ๋คโ๋ผ๋ ์๋ฏธ์ธ๋ฐ,
๋ฌธ์ ๋ ์ด ๋จ์ด๋ฅผ ์ ํํ๊ฒ ๋ฐ์ํ๋ ์ฌ๋๋ค์ด ์์ธ๋ก ๋๋ฌผ๋ค๋๋ฐ ์๋ค. ์ด ๋จ์ด์ ์ ํํ
๋ฐ์์ [rรญ:ษfร i] (๋ฆฌ์ดํ์ด) ์ด๋ค. ์ด ๋จ์ด์ ์ด์์ ์๋ฉด ์ ํํ ๋ฐ์์ ํ๋๋ฐ ๋์์ด
๋๋ฏ๋ก, ๋ค์์ ์ด์์ ํจ๊ป ์๊ฐํ๋ค.
The following gist is the summary and solution from the discussions of https://groups.google.com/forum/#!topic/clojurescript/BEGF_AjSjmQ.
Itโs not so easy to get *ns* string in ClojureScript as you might expect but here is a tip.
It is impossible to get *ns* string at run-time in ClojureScript (except in self-hosted ClojureScript) but it can be accessed at compile-time only. So you have to use a macro to get it as the following example.
I came up with this idea in the course of implementing set-ns-blacklist! and set-ns-whitelist! (https://github.com/philoskim/debux#debux-config) in my debux library.