Skip to content

Commit 2d81c3a

Browse files
committed
Goal ships with k.reshape, remove Ari's reshape
As seen in the diff for this commit, anaseto implemented the one here in the ari codebase anyway. The implementation in k.goal is identical.
1 parent e384898 commit 2d81c3a

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

CREDITS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# Credits
22

3-
- Implementation of `reshape` by anaseto, shared [on Matrix](https://matrix.to/#/#aplfarm-k:matrix.org)
43
- Implementation of `shape` by John Earnest, shared [in the k tree StackExchange chat](https://chat.stackexchange.com/transcript/message/54070438#54070438)

ari.goal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/ Shape
22
istbl:{and["d"=@x;&/"s"=@'!x;&/{(@'x)¿"ANSI"}x;&/(*ls)=ls:#'x]} / is x a dictionary-as-table
3-
reshape:{((*/x)#y){(-y)$x}/|1_x} / Implementation by anaseto, shared on Matrix
43
shape:{-1_#:'*:\x} / Implementation by John Earnest, shared on k-tree
54
depths:{[ind;l]?[(@l)~"A";,/o[ind+1]'l; (@l)¿"NSI";(#l)#ind; ind-1]} / list depths
65
zero:..[i:0;n:0.0;s:"";r:rx//;d:()!();f:(:);A:()] / handle, error don't fill

0 commit comments

Comments
 (0)