inkle / inkle/ink

Tunnel end fallback syntax

Open
#298 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.9k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

I want to silently end a tunnel if there are no choices available (i.e. fallback to ->-> with no output).

```
// Doesn't work
* ->->

// Doesn't work
* [] ->->

// Does work, but is really hacky
* [] <>
->->
```

Apparently, fallbacks require either text or a divert arrow, and glue counts as text. Is there any better syntax for this? Note that I don't want to use a gather, because I want the tunnel to continue if there are choices available.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.