diff --git a/Jenkinsfile b/Jenkinsfile
index 7cb6581..eaf563c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,5 +1,8 @@
#!groovy
@Library('waluigi@release/7') _
-beehiveFlowBuild()
-
+beehiveFlowBuild(
+ container: [
+ tag: '20',
+ ]
+)
diff --git a/src/main/ts/api/Pprint.ts b/src/main/ts/api/Pprint.ts
index 23cc1f7..3af9b79 100644
--- a/src/main/ts/api/Pprint.ts
+++ b/src/main/ts/api/Pprint.ts
@@ -5,21 +5,21 @@ import * as StringUtil from '../core/StringUtil';
import * as Type from '../core/Type';
import * as Pnode from './Pnode';
-type Pnode = Pnode.Pnode;
-type Show = Show.Show;
+type PnodeType = Pnode.Pnode;
+type ShowType = Show.Show;
export interface Pprint {
- pprint: (a: A) => Pnode;
+ pprint: (a: A) => PnodeType;
}
-export const pprint = (f: (a: A) => Pnode): Pprint => ({ pprint: f });
+export const pprint = (f: (a: A) => PnodeType): Pprint => ({ pprint: f });
export const render = (a: A, pp: Pprint): string => {
const n = pp.pprint(a);
return Pnode.render(n);
};
-export const pprintShow = (show: Show): Pprint =>
+export const pprintShow = (show: ShowType): Pprint =>
pprint((a) => Pnode.single(show.show(a)));
export const pprintUndefined: Pprint = pprintShow(Show.showUndefined);
@@ -39,7 +39,7 @@ export const pprintArray = (pprintA: Pprint): Pprint> => ppr
export const pprintRecord = (pprintA: Pprint): Pprint> => pprint((r) => {
const tuples = ObjectUtil.toTuples(r);
- const cnode: (t: [string, A]) => Pnode = ([ k, v ]) => {
+ const cnode: (t: [string, A]) => PnodeType = ([ k, v ]) => {
const pv = pprintA.pprint(v);
const start = StringUtil.doubleQuote(k) + ': ';
return Pnode.prependStart(start)(pv);