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

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

Conversation

Notices

  1. Embed this notice
    Thomas (tfb@functional.cafe)'s status on Friday, 16-Feb-2024 13:33:14 JST Thomas Thomas
    in reply to
    • m455

    @m455 > this feels like cheating or avoiding the whole "dont mutate globals" because you cant in elixir

    I like the technique used by the ML languages here: your variables are immutable, but if you want to make a mutable variable you instead box its value.

    Doing that silently under the hood is a classic Lisp implementation trick

    In conversation Friday, 16-Feb-2024 13:33:14 JST from functional.cafe permalink
    • clacke likes this.
    • Embed this notice
      m455 (m455@tiny.tilde.website)'s status on Friday, 16-Feb-2024 13:33:15 JST m455 m455

      starting to wonder if i should just cheat and get all of the (def symbol value) statements from my shitty lisp implementation and then start evaluating so i dont have to think about carrying over the hashmap of functions defined by user in each tuple returned by each recursion haha. or even just store them in a file during runtime and update that file every time a new definition is made hahaha. this feels like cheating or avoiding the whole "dont mutate globals" because you cant in elixir

      In conversation Friday, 16-Feb-2024 13:33:15 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • 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.