43

Simple, pure, and total functional language that generalizes Datalog

 4 years ago
source link: https://www.tuicool.com/articles/i2AR3m
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Datafun

Datafun is a new language I'm working on with Neel Krishnaswami. It's a simple, pure, and total functional language that generalizes Datalog. Datafun's superpower is that it can concisely and declaratively express and compute fixed points of monotone maps on semilattices .

Here's some further resources on Datafun:

Incremental computation for faster fixed points

Since late 2016 we've been working on "seminaive evaluation" for Datafun: finding fixed points faster by incrementalising the iterated function. See:

  • Anextended abstract written for HOPE 2018.

  • Video of my talk at ICFP 2018 and itsslides, and similar earlierslides from S-REPLS 5.

  • A three-page note proving a key result: the derivative of a fixed point is the fixed point of its derivative .

Modal types for monotonicity

Since late 2017 I've been working on a new, "modal" type system for Datafun that handles monotonicity more flexibly. See:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK