HackerPapers

arXiv:1406.2058cs.PL

Monad Transformers for Backtracking Search

Jules Hedges

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

This paper extends Escardo and Oliva's selection monad to the selection monad transformer, a general monadic framework for expressing backtracking search algorithms in Haskell. The use of the closely related continuation monad transformer for similar purposes is also discussed, including an implementation of a DPLL-like SAT solver with no explicit recursion. Continuing a line of work exploring connections between selection functions and game theory, we use the selection monad transformer with the nondeterminism monad to obtain an intuitive notion of backward induction for a certain class of nondeterministic games.

arXiv comments
In Proceedings MSFP 2014, arXiv:1406.1534
Journal reference
EPTCS 153, 2014, pp. 31-50
DOI
doi:10.4204/EPTCS.153.3
Subjects
cs.PLProgramming Languages

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Mar 2017 to Mar 2017.

Comments linking this paper, per year.

Discussed in comments1 thread

    • These notes explain the logic monad by solving solve n-queens with it: https://github.com/sshastry/queenslogic Despite its name, it's more of a search monad, it doesn't perform unification or anything like that. Another interesting paper is "Monad transformers for backtracking…

      danidiazView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.