Untitled attachment
https://mstdn.glorificatio.org/system/media_attachments/files/000/571/380/original/1cff2419a5d1dbe2.png
自作言語が動いたぞ!!!!!!
0 1 2 3 4 ……
と続く無限リストに、3を掛けて10個取り出すコード
Haskell がどうやって遅延評価を実現しているか、完璧に理解してしまった……
senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.