Displaying 1 to 12 from 12 results

phobos - The standard library of the D programming language

  •    D

Phobos is the standard library that comes with the D Programming Language Compiler. Phobos is packaged together with the compiler. You should download the whole precompiled package.

light-traits - Light traits in javascript with some syntax sugar

  •    Javascript

Traits are a flexible language feature to factor out and recombine reusable pieces of code. They are a more robust alternative to multiple inheritance or mixins. They are more robust because name clashes must be resolved explicitly by composers, and because trait composition is order-independent (hence more declarative). To put it simply: if you combine two traits that define a method with the same name, your program will fail. Traits won't automatically give precedence to either one. This is a big statement and maybe not entirely correct but, few API differences makes working with traits less verbose and there for more pleasant. See examples section to find a difference.

pyface - pyface: traits-capable windowing framework

  •    Python

The pyface project contains a toolkit-independent GUI abstraction layer, which is used to support the "visualization" features of the Traits package. Thus, you can write code in terms of the Traits API (views, items, editors, etc.), and let pyface and your selected toolkit and back-end take care of the details of displaying them.

barman - Barman is a small library to brew JavaScript objects

  •    Javascript

Barman is a small library to brew JavaScript objects. It simplifies the definition of objects using single-inheritance and traits like composition.

cop - Context-oriented programming with traits in Javascript

  •    Javascript

Context-oriented programming with traits in Javascript. Cop.js gives better maintainability and evolution to web applications by providing contexts and traits. Cop.js is based on the context-oriented programming paradigm where objects are adapted at runtime with different behavior depending on active contexts.

protocols - Multi-type protocol-based polymorphism

  •    Javascript

@zkat/protocols is a JavaScript library is a library for making groups of methods, called "protocols", that work together to provide some abstract functionality that other things can then rely on. If you're familiar with the concept of "duck typing", then it might make sense to think of protocols as things that explicitly define what methods you need in order to "clearly be a duck". On top of providing a nice, clear interface for defining these protocols, this module clear, useful errors when implementations are missing something or doing something wrong.

protoduck - Duck typing for the most serious of ducks.

  •    Javascript

protoduck is a JavaScript library is a library for making groups of methods, called "protocols". If you're familiar with the concept of "duck typing", then it might make sense to think of protocols as things that explicitly define what methods you need in order to "clearly be a duck".

SimpleTraits.jl - Simple Traits for Julia

  •    Julia

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. One good example of the use of traits is the abstract array interface in Julia-Base. An abstract array either belongs to the Base.IndexLinear or Base.IndexCartesian trait, depending on how its internal indexing works. The advantage to use a trait there is that one is free to create a type hierarchy independent of this particular "trait" of the array(s).

useless - Use Less. Do More. JavaScript on steroids.

  •    Javascript

In near future, it will be split into several loosely coupled, clean and maintainable NPM modules, for everyone's convenience. Stay tuned. You can override config with command line args, e.g. node example webpack.offline=false, using server/config.js trait.

go-traits - Extend Go struct capabilities

  •    Go

There are various approaches to reduce Go boilerplate like go generate and others. Traits library comes to add capabilities and reduce boilerplate using embedded structs. See examples folder for more.

fungaltraits - A dynamic database of fungal trait measurements

  •    R

Flores-Moreno, Habacuc, Treseder, Kathleen, K., , Cornwell, William, K., Maynard, Daniel S., Milo, Amy, M., Abarenkov, Kessy, Afkhami, Michelle, E., Aguilar-Trigueros, Carlos, A., Bates, Scott, Bhatnagar, Jennifer, M., Busby, Posy, E., Christian, Natalie, Crowther, Thomas W., Floudas, Dimitri, Gazis, Romina, Hibbett, David, Kennedy, Peter, F., Lindner, Daniel, L., Nilsson, R. Henrik, Powell, Jeff, Schildhauer, Mark, Schilling, Jonathan, Zanne, Amy, E. 2019. fungaltraits aka funfun: a dynamic functional trait database for the world's fungi. Dataset: https://github.com/traitecoevo/fungaltraits. This will download the data, and load it into R, and you're ready to do analyses. The meta-data associated with the data is in the zip file that can be downloaded here.

core2 - The bare essentials of std::io for use in no_std. Alloc support is optional.

  •    Rust

Ever wanted a Cursor or the Error trait in no_std? Well now you can have it. A 'fork' of Rust's std modules for no_std environments, with the added benefit of optionally taking advantage of alloc. The goal of this crate is to provide a stable interface for building I/O and error trait functionality in no_std environments. The current code corresponds to the most recent stable API of Rust 1.47.0. It is also a goal to achieve a true alloc-less experience, with opt-in alloc support.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.