This website requires JavaScript.
Explore
Help
Sign In
Yaltik
/
hy
Watch
2
Star
0
Fork
0
You've already forked hy
Code
Pull Requests
Releases
Activity
master
hy
/
hy
/
core
/
__init__.py
5 lines
58 B
Python
Raw
Permalink
Normal View
History
Unescape
Escape
Add in a new core language file. This will let us implement common functions seen in other lisps, and allow them to be importable, without explicit imports. The goal is to keep this as small as we can; we don't want too much magic. I've added `take' and `drop' as examples of what we can do.
2013-06-29 17:50:31 +02:00
STDLIB
=
[
Add shadow.hy to core This new core module allows us to shadow the builtin Python operators so they may be passed to sequence functions that expect functions: => (map / [1 2 3 4 5]) [1.0, 0.5, 0.3333333333333333, 0.25]
2014-05-16 18:58:57 +02:00
"
hy.core.language
"
,
"
hy.core.shadow
"
Add in a new core language file. This will let us implement common functions seen in other lisps, and allow them to be importable, without explicit imports. The goal is to keep this as small as we can; we don't want too much magic. I've added `take' and `drop' as examples of what we can do.
2013-06-29 17:50:31 +02:00
]
Copy Permalink