reflex VS klister

Compare reflex vs klister and see what are their differences.

reflex

Interactive programs without callbacks or side-effects. Functional Reactive Programming (FRP) uses composable events and time-varying values to describe interactive systems as pure functions. Just like other pure functional code, functional reactive code is easier to get right on the first try, maintain, and reuse. (by reflex-frp)

klister

an implementation of stuck macros (by gelisam)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
reflex klister
17 7
1,057 121
0.3% -
4.4 5.9
25 days ago 11 days ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

reflex

Posts with mentions or reviews of reflex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-08.
  • On inheritance and why it's good Rust doesn't have it
    5 projects | /r/rust | 8 Dec 2023
    There's other people around here who would like to know your opinion about these GUI frameworks! I haven't written a GUI in Rust personally, but my favorite GUI framework is not at all OOP: https://reflex-frp.org/
  • Reflex – Web apps in pure Python
    9 projects | news.ycombinator.com | 2 Aug 2023
    Not to be confused with Reflex, allowing web apps in pure Haskell: https://reflex-frp.org/
  • Interactive animations
    11 projects | /r/haskell | 6 May 2023
    FRP solutions sound very attractive. But reflex seems to be stuck on the outdated GHCJS, and I haven't been able to get it to build. The newer JS output in GHC doesn't yet have DOM support. And even if I used one of those, figuring out how to interact with a LaTeX renderer might be tricky.
  • The Quest for the Ultimate GUI Framework
    4 projects | /r/programming | 22 Apr 2023
    I only have experience using Reflex, which I regard as the main contender for FRP UI libraries in the Haskell sphere. It's got a flashy website, but I think the documentation is a bit disorganized -- it took a long time for me to figure out how to get going with the library (you find some pieces of knowledge scattered here and there, if you look hard enough). My plan was to learn it well enough to onboard other people, but I don't think I could convince anyone who hasn't already decided that they're gonna make UIs in Haskell no matter the required effort.
  • Reflex FRP
    1 project | /r/cryptogeum | 23 Jan 2023
  • Simple GHC stack for a novice
    6 projects | /r/haskell | 17 Oct 2022
    Once someone has spent a bunch of time with Haskell and sees the value, they will find Nix if it makes sense. Maybe they'll want to play with https://reflex-frp.org, or they'll discover they want a better way to package 3rd-party dependencies, or they start using NixOS and want to nix all the things, etc. etc. Or, maybe they'll never find a use for it, and that's okay.
  • Building on iPad
    1 project | /r/haskell | 6 Oct 2022
    Reflex natively supports iOS, along with Android, desktop and web. I would recommend it for functional reactive programming in Haskell: https://reflex-frp.org
  • Functional Reactive Programming
    9 projects | news.ycombinator.com | 16 Aug 2022
  • HTML5 Ubuntu App with native component?
    1 project | /r/pinephone | 26 Mar 2022
    It's been awhile since I've tried to get into Ubuntu Touch/Linux mobile development in earnest. I'm currently working on an app using the reflex framework that I hope to eventually target Android, iOS, Desktop, and Linux Mobile.
  • Event driven programming in haskell
    1 project | /r/haskell | 22 Feb 2022
    If you're talking about the current Elm approach, I'm not sure. Otherwise, the paper I linked to notes some of the FRP libraries that existed at the time, some of which are still supported today (like reactive-banana), and otherwise I'd suggest looking at reflex, mentioned in the first post in this thread. I don't think it existed at the time the Elm paper came out.

klister

Posts with mentions or reviews of klister. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-06.
  • Interactive animations
    11 projects | /r/haskell | 6 May 2023
    Yeah, that project is pretty much at the bottom of my list, unfortunately. My top projects these days are mgmt, klister, recursion-schemes, and hint... And that's already too much!
  • Rust Tests Itself (Kind of!)
    2 projects | /r/rust | 30 Dec 2022
    case is a special form, ie a bit of core syntax, but, interestingly, data is not. (It is presumably a macro; typechecking is actually done as a part of macro expansion.) The syntax remains pretty uniform. Or, in Klister, type ascription is done via normal S-expression syntax with a form called the, as (the $type $expression); again, the syntax is uniform.
  • GHC Hacking
    1 project | /r/haskell | 4 Dec 2022
    Shameless plug: we don't have that problem in Klister, because our equivalent to main is a run macro which runs an IO action, and your alternate prelude can define its own run macro which expects an IO action from your alternate prelude.
  • What's the preferred way of getting powerful lisplike macros on Haskell?
    1 project | /r/haskell | 28 Sep 2022
    Klister is very similar to Hackett, but implemented in Haskell instead of Racket, and my most recent PR is from 20 days ago, if that's the metric which counts for you. Still very much of a WIP though.
  • How do you typecheck a macro?
    6 projects | /r/ProgrammingLanguages | 30 Sep 2021
    You might be interested in Klister: https://github.com/gelisam/klister
  • Using defmacro's &environment argument to implement Racket's hygienic macro expansion system?
    3 projects | /r/lisp | 2 Feb 2021
    I've now also found an implementation for klister, which is meant to interleave type checking with macro expansion.
  • Haskell doesn't have macros
    2 projects | /r/haskell | 29 Dec 2020
    In Klister, which already has Scheme-like macros and Haskell-like types (polymorphism, algebraic types and higher-kinded types, but not yet fancier types like RankNTypes and GADTs), our plan to get the best of both worlds (lexical syntax and typed ASTs) is to separate parsing from macro evaluation. That is, users write their programs using the surface syntax of s-expressions, parsers parse those into typed ASTs, and macros are typed by the type of the ASTs they receive as input and produce as output. At this stage this is only a research idea, I don't know if that's going to work out yet, but I hope so!

What are some alternatives?

When comparing reflex and klister you can also consider the following projects:

sodium - Sodium - Functional Reactive Programming (FRP) Library for multiple languages

rakudo - 🦋 Rakudo – Raku on MoarVM, JVM, and JS

Elm - Compiler for Elm, a functional language for reliable webapps.

aith - [Early Stages] Low level functional programming language with linear types, first class inline functions, levity polymorphism and regions.

dunai - Classic FRP, Arrowized FRP, Reactive Programming, and Stream Programming, all via Monadic Stream Functions

unseemly - Macros have types!

reflex-dom - Web applications without callbacks or side-effects. Reflex-DOM brings the power of functional reactive programming (FRP) to the web. Build HTML and other Document Object Model (DOM) data with a pure functional interface.

hackett - WIP implementation of a Haskell-like Lisp in Racket

purescript - A strongly-typed language that compiles to JavaScript

coalton - Coalton is an efficient, statically typed functional programming language that supercharges Common Lisp.

rhine - Haskell Functional Reactive Programming framework with type-level clocks

srfi-46 - SRFI 46 for Common Lisp: Basic Syntax-rules Extensions