def stmt_of.foreign

ezx@1.11.0.0 · src/pkg/pkg.bend:249

import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg
import Base

249# the foreign import decided. The rest of the cascade hangs off the False arm
250# rather than sitting in an argument, so a line that is a foreign import pays
251# for nothing below it.
252def stmt_of.foreign(here: Bool, +line: String) -> Stmt:
253  match here:
254    case True{}:
255      SForeign{foreign.path(foreign.gap(String.drop(line, 6n)))}
256    case False{}:
257      stmt_of.quiet(quiet(line), line)

Uses (8)

Used by (1)