Skip to content

Commit

Permalink
update core package
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewilliamboswell committed May 3, 2024
1 parent d1e705b commit 5879e0f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 29 deletions.
46 changes: 22 additions & 24 deletions package/Random.roc
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,28 @@
## - PCG = Permuted Congruential Generator
## - RXS = Random XorShift (see section 5.5.1 on page 36 in the paper)
## - XS = XorShift (see section 5.5 on page 34 in the paper)
interface Random
exposes [
Generation,
Generator,
State,
i8,
i16,
i32,
int,
next,
seed,
seedVariant,
seed8,
seed8Variant,
seed16,
seed16Variant,
seed32,
seed32Variant,
step,
u8,
u16,
u32,
]
imports []
module [
Generation,
Generator,
State,
i8,
i16,
i32,
int,
next,
seed,
seedVariant,
seed8,
seed8Variant,
seed16,
seed16Variant,
seed32,
seed32Variant,
step,
u8,
u16,
u32,
]

## A psuedorandom value generator
Generator uint value : State uint -> Generation uint value
Expand Down
8 changes: 3 additions & 5 deletions package/main.roc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package "random"
exposes [
Random,
]
packages {}
package [
Random,
] {}

0 comments on commit 5879e0f

Please sign in to comment.