GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    screwlisp (screwtape@mastodon.sdf.org)'s status on Sunday, 17-Nov-2024 11:51:03 JSTscrewlispscrewlisp
    in reply to
    • Colin

    @fosskers
    Ugh, it's 10x slower than this loop facility one.
    (defun loopfizz-of (no)
    (let ((res (loop :repeat (1+ no)
    :for x :from 0 :by 1 :for y := '0 :then y :for z := '0 :then z
    :when (eql x y) :do (incf y 3)
    :When (eql x z) :do (incf z 5)
    :finally (return (list x (decf y 3) (decf z 5))))))
    (cond ((and (= (car res) (cadr res)) (= (car res) (caddr res))) '(fizz buzz))
    ((= (car res) (cadr res)) '(fizz)) ((= (car res) (caddr res)) '(buzz))
    (:otherwise (butlast res 2)))))

    In conversationabout 6 months ago from mastodon.sdf.orgpermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.