Your SlideShare is downloading. ×
0
Before LISPs just Part of the Past ~ #10 chiku.util ~
Before LISPs just Part of the Past ~ #10 chiku.util ~
Before LISPs just Part of the Past ~ #10 chiku.util ~
Before LISPs just Part of the Past ~ #10 chiku.util ~
Before LISPs just Part of the Past ~ #10 chiku.util ~
Before LISPs just Part of the Past ~ #10 chiku.util ~
Before LISPs just Part of the Past ~ #10 chiku.util ~
Before LISPs just Part of the Past ~ #10 chiku.util ~
Before LISPs just Part of the Past ~ #10 chiku.util ~
Before LISPs just Part of the Past ~ #10 chiku.util ~
Before LISPs just Part of the Past ~ #10 chiku.util ~
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Before LISPs just Part of the Past ~ #10 chiku.util ~

3,042

Published on

Some ideas of utilities

Some ideas of utilities

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,042
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
2
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Before LISPs Just Part of the Past 〜 #10 chiku.util 〜
  • 2. Utility Library ● いつでも使う ● SLIMEでも ● 生インタープリタでも ● 標準ではないことをしばしば忘れる
  • 3. おしながき ● stride-map family ● Hash Table handling ● Longer or Shorter ● Listing ● misc
  • 4. Stride Map Family ● 指定個数ずつ要素を飛ばすMAPCAR系の変種 – stride-mapcar – stride-mapcan – stride-maplist – stride-mapcon
  • 5. Hash Table Handling ● show-hash-table ● MAPHASHの変種 – maphash-key, maphash-value ● keyのみ、valueのみについて走査 – cmaphash-key, cmaphash-value ● 結果を収集
  • 6. Hash Table Handling LOOP?
  • 7. Longer or Shorter (< n m) vs. (> m n)
  • 8. Longer or Shorter vs. 0 0
  • 9. Listing FOUND in Amusement Park LOST in Amusement Park FOUND in Super Market (list 'amusement-park 'super-market) (list 'super-market) LOST in Super Market (list 'amusement-park) NIL
  • 10. Listing ● (listing (cons (found-in 'amusement-park) 'amusement-park) (cons (found-in 'supermarket) 'supermarket)) ● (list/det ; Macro interface ((found-in amusement-park) 'amusement-park) ((found-in supermarket) 'supermarket))
  • 11. misc ● keymax, keymin, check ● wrap-if, wrap-unless ● printing-let ● mvvalues, mvconstantly ● chiku.utilはGithubで公開 – https://github.com/chiku-samugari/chiku.util

×