1-- @inline export watUnit(..).wat1 arity=1
2-- @inline export watUnit(..).wat2 arity=1
3-- @inline export testImpl never
4module Snapshot.InlineDirectivePropSpine02 where
8import Type.Equality (class TypeEquals)
9import Type.Equality as TypeEquals
11testImpl :: Unit -> Unit
14class Wat a b | b -> a where
18instance watUnit :: TypeEquals a Unit => Wat a Unit where
19 wat1 = testImpl <<< TypeEquals.to
20 wat2 = testImpl <<< TypeEquals.to
22-- This results in a partially applied call for `watUnit` specialized
23-- to `Unit` TypeEquals dictionary. Without the directive, This
24-- won't inline via heuristics since it's a CAF. With the directive,
25-- test1 and test2 get inlined to calls to testImpl.
26f = wat1 :: Unit -> Unit
27g = wat2 :: Unit -> Unit
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list