rename to f.go

This commit is contained in:
NunoSempere 2024-06-19 08:30:21 -04:00
parent 4c6fb35ac2
commit 4d146dbcfb
3 changed files with 10 additions and 9 deletions

View File

@ -140,6 +140,8 @@ Note that these sed commands are just hacks, and won't parse e.g., `3.5K` correc
- Joint types
- Enums
- [x] Fix correlation problem, by spinning up a new randomness thing every time some serial computation is done.
- [ ] Maintain *both* a more complex thing that's more featureful *and* the more simple multiplication of lognormals thing.
- [ ] Clean up error code. Right now only needed for division
- [ ] Dump samples to file
- [ ] Represent samples/statistics in some other way
- [ ] Perhaps use qsort rather than full sorting

View File

@ -4,8 +4,8 @@ import (
"bufio"
"errors"
"fmt"
"git.nunosempere.com/NunoSempere/fermi/sample"
"git.nunosempere.com/NunoSempere/fermi/pretty"
"git.nunosempere.com/NunoSempere/fermi/sample"
"math"
"os"
"sort"
@ -348,8 +348,7 @@ func operateStackWithDist(stack Stack, new_dist Dist, op string) Stack {
func runRepl(stack Stack, reader *bufio.Reader) Stack {
replForLoop:
replForLoop:
for {
new_line, _ := reader.ReadString('\n')
words := strings.Split(strings.TrimSpace(new_line), " ")

View File

@ -1,9 +1,9 @@
run:
go run fermi.go
go run f.go
build:
go build fermi.go
go build f.go
install: fermi
sudo mv fermi /usr/bin/fermi
sudo ln -s /usr/bin/fermi /usr/bin/f
install: f
sudo mv f /usr/bin/f
sudo ln -s /usr/bin/f /usr/bin/fermi