`recur` treated differently from a recursive call

Description

Following code passes type check if I use recursive call (foo :kw).
However, if I use (recur :kw), the code does not pass type check.

Pull request: 69

Environment

None

Activity

Show:
Ambrose Bonnaire-Sergeant
October 20, 2015, 12:38 AM

Currently we treat a `recur` as a special kind of function that only implements a subset of what IFn provides (here).

To support this, we should allow the current loop target to be an IFn, and we check each `recur` site in the same was a regular invocation.

Ambrose Bonnaire-Sergeant
December 3, 2017, 10:07 PM

Never finished implementation.

Assignee

Ambrose Bonnaire-Sergeant

Reporter

import

Labels

None

Approval

None

Patch

None

Components

Fix versions

Affects versions

Priority

Minor
Configure