Write a Blog >>
ICFP 2020
Thu 20 - Fri 28 August 2020
Fri 28 Aug 2020 10:35 - 10:57 at HIW - Sessions 1 and 2

Pattern matching is a convenient tool of programming languages that simplifies the description of data decomposition. Many pattern-match extensions have been developed for extending the range of data types to which pattern matching is applicable. Among them, the pattern-match system of the Egison programming language features practical pattern matching for non-free data types by providing a user-extensible non-linear pattern-match facility with backtracking.

This talk presents a Haskell library, Sweet Egison (https://github.com/egison/sweet-egison), that imports Egison’s non-deterministic pattern-match facility into Haskell. In this talk, we will present the user-interface and the implementation methods of Sweet Egison. We can regard pattern matching as syntactic sugar for representing non-determinism like list comprehensions.

  • We will introduce the usage of Sweet Egison by showing several sample programs (https://github.com/egison/sweet-egison/blob/master/sample/).
  • We will introduce our method of importing non-deterministic pattern matching. We transform non-deterministic patterns into a program that uses non-deterministic monads. We use Template Haskell for this transformation. This method makes the overhead for executing pattern matching small.

Finally, we would like to discuss implementing the proposed non-deterministic pattern-match facility as a GHC extension.

Fri 28 Aug

Displayed time zone: Eastern Time (US & Canada) change

09:00 - 12:00
Sessions 1 and 2HIW at HIW
09:00
22m
Talk
Asterius: bringing Haskell to WebAssembly
HIW
Cheng Shao Tweag I/O, Georgios Karachalias Tweag I/O, Hans Hoeglund Tweag I/O
09:22
22m
Talk
Multiple Home Units
HIW
10:00
35m
Talk
Lightning Talks 1
HIW

10:35
22m
Talk
Sweet Egison: a Haskell Library for Non-Deterministic Pattern Matching
HIW
Satoshi Egi Rakuten Institute of Technology, Rakuten, Inc. / The University of Tokyo, Akira Kawata Kyoto University, Mayuko Kori The University of Tokyo, Hiromi Ogawa University of Tsukuba
10:57
22m
Talk
Updating Immutable Code
HIW
Philipp Schuster University of Tübingen, Germany, David Binder University of Tübingen
11:19
12m
Talk
GHC Status Update
HIW
Simon Peyton Jones Microsoft, UK, Ben Gamari Well-Typed LLP
11:31
29m
Break
Social break
HIW