ht

A Crystal library to replicate Elixir's [h|t] syntax in a Crystalline way

ht

Used to replicate Elixir's [h|t] syntax in a Crystal-ish way.

Installation

Add this to your application's shard.yml:

dependencies:
  ht:
    github: willamin/ht

Usage

require "ht"

list = [1,2,3]
h, t = list.ht

Contributing

  1. Fork it ( https://github.com/willamin/ht/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • willamin Will Lewis - creator, maintainer
Repository

ht

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • over 6 years ago
  • March 20, 2018
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 16:05:20 GMT

Languages