Git Product home page Git Product logo

dark-magic's Introduction

Dark Magic

DarkMagic

DarkMagic is a rich, comprehensive set of utility functions and modules for Elixir that are useful for everyday programming.

The complete documentation is available here.

Installation

To use DarkMagic with your projects, edit your mix.exs file and add it as a dependency:

def deps do
  [{:dark_magic, "~> 0.0.1"}]
end

def application do
  [applications: [:dark_magic]]
end

Quick Introduction

The following line includes DarkMagic in your module and extends Elixir's core modules.

use DarkMagic

Example:

defmodule Example do
  use DarkMagic

  def example_calculation do
    rangeA = 11..20
    rangeB = 15..25

    # dark magic's extensions for the core Elixir library
    Range.overlap?(range_a, range_b)
  end
end

Development

Roadmap

Before hitting 1.0 we want to implement all the features on the TODO list.

Issues

Feel free to submit issues and enhancement requests.

Contributions

Please refer to each project's style guidelines and guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

Be sure to merge the latest from "upstream" before making a pull request!

Design Principles

We care deeply about tests, clarity and performance. Please follow the following rules when you make a contribution:

  1. Write tests before code
  2. Write documentation
  3. Provide executable examples in your documentation a.k.a doctests
  4. Keep doctests simple and cover only the most useful examples
  5. Tests for edge-cases and complex examples should be placed in test files

Licence

The MIT License (MIT) Copyright (c) 2016 Rendered text

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

dark-magic's People

Contributors

fanna avatar shiroyasha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

nemus993

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.