This is the Linux app named SimpleTraits.jl whose latest release can be downloaded as v0.9.5sourcecode.tar.gz. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named SimpleTraits.jl with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
SimpleTraits.jl
DESCRIPTION
This package provides a macro-based implementation of traits, using Tim Holy's trait trick. The main idea behind traits is to group types outside the type-hierarchy and to make dispatch work with that grouping. The difference to Union-types is that types can be added to a trait after the creation of the trait, whereas Union types are fixed after creation. The cool thing about Tim's trick is that there is no performance impact compared to using ordinary dispatch. For a bit of background and a quick introduction to traits watch my 10min JuliaCon 2015 talk.
Features
- Default argument and keyword argument trait functions
- Traitor.jl-like syntax
- All traits have one or more (type-)parameters to specify the type to which the trait is applied
- Vararg, default argument and keyword argument trait functions work
- Documentation available
- Examples available
Programming Language
Julia
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/simpletraits-jl.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.