Pascal-J/type-system-j: adds an optional type system to J language
github.com·8h·
Discuss: Lobsters
📘TypeScript
Preview
Report Post

type-system-j

The J language is ultradynamic in that functions usually have no named parameters much less typed parameters. These files add an optional type system to the J language.

to use, put all files in your home folder. If placing them elsewhere, change paths for require lines. typesys_test file will load the other file.

definition of a type: A type is a name given to any function that returns a boolean classification of its input. And does so within a general context of guarding input to other functions.

The benefits of a type system include

  • catch errors in parts of a program due to changes in another part
  • document use of functions
  • Help compilers optimize code

Nice to have features that this J system provides are:

Type system should be optional

regar…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help