opaque result
This commit is contained in:
parent
bc7f1317da
commit
610fa0227e
|
@ -1,3 +1,4 @@
|
||||||
|
open ForTS__Types
|
||||||
/*
|
/*
|
||||||
This is meant as a file to contain @genType declarations as needed for Typescript.
|
This is meant as a file to contain @genType declarations as needed for Typescript.
|
||||||
I would ultimately want to have all @genType declarations here, vs. other files, but
|
I would ultimately want to have all @genType declarations here, vs. other files, but
|
||||||
|
@ -23,13 +24,13 @@ type symbolicDist = SymbolicDistTypes.symbolicDist
|
||||||
type distributionError = DistributionTypes.error
|
type distributionError = DistributionTypes.error
|
||||||
|
|
||||||
@genType
|
@genType
|
||||||
type resultDist = result<genericDist, distributionError>
|
type resultDist = result_<genericDist, distributionError>
|
||||||
|
|
||||||
@genType
|
@genType
|
||||||
type resultFloat = result<float, distributionError>
|
type resultFloat = result_<float, distributionError>
|
||||||
|
|
||||||
@genType
|
@genType
|
||||||
type resultString = result<string, distributionError>
|
type resultString = result_<string, distributionError>
|
||||||
|
|
||||||
@genType
|
@genType
|
||||||
let makeSampleSetDist = SampleSetDist.make
|
let makeSampleSetDist = SampleSetDist.make
|
||||||
|
|
Loading…
Reference in New Issue
Block a user