home.social

Search

367 results for “typelevel”

  1. Article showing off a cool new library that illustrates #Actors and #FP working cleanly together using the #Typelevel type classes.

    I may well wind up evolving #Querki towards this in the medium term: that's fundamentally Akka-centric now, and I've long wanted to move it towards Cats-effect 3.
    mastodon.social/@cloudmark/112

  2. On #Scala's #CatsEffect library — one common myth is that it's a library built for “tagless final” (TF).

    While it's true that it gives you unparalleled ability to use TF and monad transformer stacks, it's perfectly usable without. Most libraries from #Typelevel are.

  3. I created a #chatgpt #Scala Cats Effect Tutor for fun take a look all:

    https://chat.openai.com/g/g-anUfWL8Ty-scala-cats-effect-tutor

    Feedback to make it better appreciated. I will be iterating on it, this is just an initial attempt.

    Have fun all!

    #Typelevel #catseffect

    cc @typelevel

  4. The upcoming twenty-fourth patch release in the `0.23`-series of http4s got 7 (seven!) new contributors. In fact, their contributions enrol into 2/3 of all shipped changes. Goddamn, that doesn't stop to blow my mind!
    #Typelevel #http4s #scala

  5. The upcoming twenty-fourth patch release in the `0.23`-series of http4s got 7 (seven!) new contributors. In fact, their contributions enrol into 2/3 of all shipped changes. Goddamn, that doesn't stop to blow my mind!
    #Typelevel #http4s #scala

  6. The upcoming twenty-fourth patch release in the `0.23`-series of http4s got 7 (seven!) new contributors. In fact, their contributions enrol into 2/3 of all shipped changes. Goddamn, that doesn't stop to blow my mind!
    #Typelevel #http4s #scala

  7. The upcoming twenty-fourth patch release in the `0.23`-series of http4s got 7 (seven!) new contributors. In fact, their contributions enrol into 2/3 of all shipped changes. Goddamn, that doesn't stop to blow my mind!
    #Typelevel #http4s #scala

  8. I kind of hesitated with posting about it here but I'm happy to announce that my project got selected for this years under the @typelevel organization!

    Over the course of the project I will be prototyping a port of Cats Effect and FS2 for the /WASI platform. Support for WASI by compiler(s) is still experimental and I think this is the first time an I/O-heavy library is being ported there

  9. Cats-Effect 3.6.0 is a very exciting release due to the work on its internal work scheduler, many congrats to its contributors! ❤️

    github.com/typelevel/cats-effe

    #Scala #CatsEffect #FP

  10. Cats-Effect 3.6.0-RC1 comes with some very exciting changes ❤️ Congrats to the team, they keep delivering 😍

    #Scala #CatsEffect #FP

    github.com/typelevel/cats-effe

  11. Type-level программирование в TypeScript: практические кейсы и новые возможности

    Как использовать мощь системы типов TypeScript для вычисления логики ещё на этапе компиляции и автоматической генерации кода. Разбираем условные типы, шаблонные литералы, рекурсивные типы и другие приёмы, чтобы упростить разработку, сократить дублирование кода и снизить вероятность ошибок на runtime.

    habr.com/ru/articles/871336/

    #typescript #Typelevel_программирование #метапрограммирование #условные_типы #типобезопасность #Валидация_типов #рекурсивные_типы #mapped_types #Шаблонные_литералы_типов

  12. It is sad that all the Gitter links have rotted, but I've managed to recover a JSON archive of significant Typelevel and http4s channels for personal reference.

    Cats' begins with "well i got a readme written".

    #Typelevel #Scala #Http4s #Gitter

  13. @davesmith00000 agreed regarding play! Hence my preferred is to build something around http4s and in the past I have used Akka-http too.

    The last time I looked into this I did come across this but never got a chance to try it:

    github.com/softwaremill/bootzo

    by @adamwarski and team

    #scala #typelevel #akka #pekko #http4s

  14. Currently, I am using a Cofree like DirTree data structure in #Akka to keep track of the actors responsible for a given resource so that we can send HTTP messages directly to them.
    ```scala
    case class DirTree[R](
    ref: R,
    kids: HashMap[String, DirTree[R, A]] = HashMap()
    ):
    ```
    github.com/co-operating-system

    I am synchronizing that with a #Java AtomicReference currently. I wonder if @alexelcu setup would make it easier to use a #CatsEffect Ref. One thing I had been thinking of is of wrapping the children in a `Ref` so that one would need to update only parts of the subtree if needed.

    ```scala
    case class DirTree[R](
    data: R,
    kids: Ref[HashMap[String, DirTree[R]]]
    ):
    ```
    pluralsight.com/tech-blog/scal

    By the way it should be quite easy to see why DirTree is just the Cofree Commonad with
    ```scala
    type DirTree[A] = Cofree[Map[String,?],A]
    ```
    But I can't quite see the advantages of using the Cofree right now.
    typelevel.org/cats/api/cats/fr

  15. Hi all 👋

    I'm moving from mastodon.social/@alexelcu, again; still experimenting, and with a self-control problem 😅

    I'm a . I love and on top of , , and . I'm from , , and I like to contribute to programming libraries.

    I write at alexn.org, and I contributed to monix.io and to typelevel.org.

    My bois said hi 👋

  16. how exciting, Maksym Ochenashko is writing a series on in applications! Maks is a prolific maintainer of and -effect.

    ochenashko.com/practical-obser

  17. @rauschma It is six months until April. How about we collaborate on a type-level typescript edition of SICP, to drop on 2026-04-01?

    #javascript #js #typescript #ts #sicp

  18. #Kulturwandel von Innen jetzt mit @winfriedebner Sophie Rickmann und Annabel Klarwein - jetzt über #CorporateInfluencer Club (dabeisein lohnt sich!) - mit shoutout an Klaus Eck

    Beim Aufbau von Communities gilt es #Begegnungsräume zu schaffen, #Vertrauen aufbauen
    - CommunityCalls
    - Beitrag des Monats #Wertschätzung #Feedback
    - sichtbare #Vorbilder #Reputation #SharingIsCaring
    - sei da, wo die Menschen sind #Augenhöhe
    - SozialeNetzwerke sind essentiell
    - TopLevel Sponsor*innen gewinnen

  19. #Kulturwandel von Innen jetzt mit @winfriedebner Sophie Rickmann und Annabel Klarwein - jetzt über #CorporateInfluencer Club (dabeisein lohnt sich!) - mit shoutout an Klaus Eck

    Beim Aufbau von Communities gilt es #Begegnungsräume zu schaffen, #Vertrauen aufbauen
    - CommunityCalls
    - Beitrag des Monats #Wertschätzung #Feedback
    - sichtbare #Vorbilder #Reputation #SharingIsCaring
    - sei da, wo die Menschen sind #Augenhöhe
    - SozialeNetzwerke sind essentiell
    - TopLevel Sponsor*innen gewinnen

  20. #Kulturwandel von Innen jetzt mit @winfriedebner Sophie Rickmann und Annabel Klarwein - jetzt über #CorporateInfluencer Club (dabeisein lohnt sich!) - mit shoutout an Klaus Eck

    Beim Aufbau von Communities gilt es #Begegnungsräume zu schaffen, #Vertrauen aufbauen
    - CommunityCalls
    - Beitrag des Monats #Wertschätzung #Feedback
    - sichtbare #Vorbilder #Reputation #SharingIsCaring
    - sei da, wo die Menschen sind #Augenhöhe
    - SozialeNetzwerke sind essentiell
    - TopLevel Sponsor*innen gewinnen

  21. #Kulturwandel von Innen jetzt mit @winfriedebner Sophie Rickmann und Annabel Klarwein - jetzt über #CorporateInfluencer Club (dabeisein lohnt sich!) - mit shoutout an Klaus Eck

    Beim Aufbau von Communities gilt es #Begegnungsräume zu schaffen, #Vertrauen aufbauen
    - CommunityCalls
    - Beitrag des Monats #Wertschätzung #Feedback
    - sichtbare #Vorbilder #Reputation #SharingIsCaring
    - sei da, wo die Menschen sind #Augenhöhe
    - SozialeNetzwerke sind essentiell
    - TopLevel Sponsor*innen gewinnen

  22. #Kulturwandel von Innen jetzt mit @winfriedebner Sophie Rickmann und Annabel Klarwein - jetzt über #CorporateInfluencer Club (dabeisein lohnt sich!) - mit shoutout an Klaus Eck

    Beim Aufbau von Communities gilt es #Begegnungsräume zu schaffen, #Vertrauen aufbauen
    - CommunityCalls
    - Beitrag des Monats #Wertschätzung #Feedback
    - sichtbare #Vorbilder #Reputation #SharingIsCaring
    - sei da, wo die Menschen sind #Augenhöhe
    - SozialeNetzwerke sind essentiell
    - TopLevel Sponsor*innen gewinnen

  23. Need help from Lisp wizards — looks like I'm missing something simple and obvious (but not so obvious for beginner). I'm trying to build (with ECL) the simple program, which uses ql:quickload to load parse-number, then prints "Hello world". It builds without errors, but resulting binary could not be executed — it prints error message about unknown "ql:quickload" function.

    QuickLisp was installed like described in the official documentation. It works in SBCL, it works in ECL REPL and it has the necessary lines in the ~/.eclrc:

    ;;; The following lines added by ql:add-to-init-file:
    #-quicklisp
    (let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
    (user-homedir-pathname))))
    (when (probe-file quicklisp-init)
    (load quicklisp-init)))
    (ql:quickload '(:slite) :silent t)

    The program, itself, runs successfully if I just evaluate the next code in the REPL:

    (ql:quickload '(:parse-number) :silent t)

    (defpackage :test
    (:use :cl))

    (in-package :test)

    (defun toplevel ()
    (print "Hello world"))

    (progn
    (toplevel)
    (ext:quit))

    And it compiles:

    ecl --eval '(progn (compile-file "test.lisp" :system-p t) (c:build-program "test" :lisp-files '"'"'("test.o")) (quit))'
    ;;; Loading #P"/home/drag0n/quicklisp/setup.lisp"
    ;;; Loading #P"/usr/local/lib/ecl-24.5.10/asdf.fas"
    ;;;
    ;;; Compiling test.lisp.
    ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
    ;;;
    ;;; Finished compiling test.lisp.
    ;;;

    But doesn't print "Hello world":

    ./test

    Condition of type: UNDEFINED-FUNCTION
    The function QUICKLISP-CLIENT::QUICKLOAD is undefined.
    No restarts available.

    Top level in: #<process TOP-LEVEL 0x8295a3f80>.
    >

    #AskFedi #CommonLisp #ECL #QuickLisp

  24. Something I would like to make in #rust is a #libc wrapper that uses type-level contracts and optional (maybe debug-by-default) runtime checks. I like Rustix, but I'd like to make something that you can use with magnitudes less footguns.

    If you know of a company/team that would be willing to fund such work, I'd be eager to get connected!

    #FediHire #contracting
    (Please reply with suggested hashtags, I'm not the greatest at these xD)