Package com.mojang.datafixers.functions
Interface PointFreeRule
- All Known Subinterfaces:
PointFreeRule.CompRewrite
- All Known Implementing Classes:
PointFreeRule.All
,PointFreeRule.AppNest
,PointFreeRule.BangEta
,PointFreeRule.CataFuseDifferent
,PointFreeRule.CataFuseSame
,PointFreeRule.Choice
,PointFreeRule.Choice2
,PointFreeRule.Everywhere
,PointFreeRule.LensAppId
,PointFreeRule.LensComp
,PointFreeRule.Many
,PointFreeRule.Nop
,PointFreeRule.Once
,PointFreeRule.One
,PointFreeRule.Seq
,PointFreeRule.SortInj
,PointFreeRule.SortProj
public interface PointFreeRule
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
static enum
static enum
static enum
static enum
static final record
static final record
static interface
static final record
static enum
static enum
static final record
static enum
static final record
static final record
static final record
static enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptionstatic PointFreeRule
all
(PointFreeRule rule) static PointFreeRule
choice
(PointFreeRule... rules) static PointFreeRule
everywhere
(PointFreeRule topDown, PointFreeRule bottomUp) static PointFreeRule
many
(PointFreeRule rule) static PointFreeRule
nop()
static PointFreeRule
once
(PointFreeRule rule) static PointFreeRule
one
(PointFreeRule rule) default <A> PointFree<A>
rewriteOrNop
(PointFree<A> expr) static PointFreeRule
seq
(PointFreeRule... rules)
-
Method Details
-
rewrite
-
rewriteOrNop
-
nop
-
seq
-
choice
-
all
-
one
-
once
-
many
-
everywhere
-