tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Digital Mark λ 📚 🕹 💾 🥃 (mdhughes@appdot.net)'s status on Thursday, 24-Jun-2021 10:41:08 CEST Digital Mark λ 📚 🕹 💾 🥃 Digital Mark λ 📚 🕹 💾 🥃
    • spectrumgomas

    @spectrumgomas Kind of a "When I was a beginner, I did X. When I was intermediate, I did Y! Now that I'm old, I do X." thing.

    Records (use R6RS or SRFI-99 or something, not archaic SRFI-9) are great, but a lot of the time you can get away with a few helper functions and primitive types, and they work better with everything else in Scheme.

    In conversation Thursday, 24-Jun-2021 10:41:08 CEST from appdot.net permalink
    • spectrumgomas@functional.cafe's status on Thursday, 24-Jun-2021 10:41:07 CEST spectrumgomas spectrumgomas
      in reply to

      @mdhughes Yes, I found this on mastodon as well: https://mastodon.online/@luis_felipe/105839045965220271 . But anyone seems to use them in Guile. At least I haven't found any examples.

      In conversation Thursday, 24-Jun-2021 10:41:07 CEST permalink

      Attachments

      1. Luis Felipe (@luis_felipe@mastodon.online)
        from Luis Felipe
        I think I hit the limits of SRFI-9 records. I think I'll need inheritance, like in OOP. Time for GOOPS, I guess. #GNU #guile #scheme
    • Digital Mark λ 📚 🕹 💾 🥃 (mdhughes@appdot.net)'s status on Thursday, 24-Jun-2021 10:51:33 CEST Digital Mark λ 📚 🕹 💾 🥃 Digital Mark λ 📚 🕹 💾 🥃
      in reply to
      • spectrumgomas

      @spectrumgomas Good enough tutorial in TSPL4:https://www.scheme.com/tspl4/records.html#./records:h0And a practical example later:https://www.scheme.com/tspl4/examples.html#./examples:h4

      Almost everyone uses the declarative interface, procedural is for advanced cases like building your own object system.

      In conversation Thursday, 24-Jun-2021 10:51:33 CEST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.