senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Thufie :: Girl (thufie@cyberia.social)'s status on Sunday, 06-Jan-2019 18:02:39 JST Thufie :: Girl Thufie :: Girl
    I just discovered the Haskell refinement types library and my life has been changed forever, I've always known I needed something like this but never knew it existed. http://nikita-volkov.github.io/refined/
    A similar library exists for Scala too:
    https://github.com/fthomas/refined/

    Now we can finally safely assume a function is only working on positive integers or a valid formatted string! Type safety is awesome.
    In conversation Sunday, 06-Jan-2019 18:02:39 JST from cyberia.social permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Announcing the refinement types library
      from Functional programming debugs you
      Have you ever looked for a numeric type with a zero to hundred range to describe percentage? Maybe a zero to one to describe a proper fraction of something? A positive integer (without the zero) to enumerate something? A vector of a specific length? Here that comes and not only with the Haskell refinement types library (on GitHub, on Hackage)!
    2. fthomas/refined
      from GitHub
      Simple refinement types for Scala. Contribute to fthomas/refined development by creating an account on GitHub.
    • Diogo Cordeiro likes this.
    • Diogo Cordeiro repeated this.

Feeds

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

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.