All Projects → codedge-llc → accessible

codedge-llc / accessible

Licence: MIT license
Dead-simple Access behavior for Elixir structs

Programming Languages

elixir
2628 projects

Labels

Projects that are alternatives of or similar to accessible

Neuron
A GraphQL client for Elixir
Stars: ✭ 244 (+803.7%)
Mutual labels:  hex
dehex
🎨👀 R package: learn to assess a colour hex code by eye
Stars: ✭ 29 (+7.41%)
Mutual labels:  hex
pfp-vim
A vim hex-editor plugin that uses 010 templates to parse binary data using pfp
Stars: ✭ 57 (+111.11%)
Mutual labels:  hex
Alfred-Colors-workflow
hex <=> rgb <=> hsl
Stars: ✭ 28 (+3.7%)
Mutual labels:  hex
hxd
Speedy colored hexdump
Stars: ✭ 33 (+22.22%)
Mutual labels:  hex
contentful.ex
Elixir SDK for the Contentful Delivery API
Stars: ✭ 32 (+18.52%)
Mutual labels:  hex
Dynamiccolor
Yet another extension to manipulate colors easily in Swift and SwiftUI
Stars: ✭ 2,677 (+9814.81%)
Mutual labels:  hex
vscode-color
Helper with GUI to generate color codes such as CSS color notations.
Stars: ✭ 88 (+225.93%)
Mutual labels:  hex
khroma
A collection of functions for manipulating CSS colors, inspired by SASS.
Stars: ✭ 28 (+3.7%)
Mutual labels:  hex
codenames
A simple bash script to convert hex values (such as commit ids) to codenames
Stars: ✭ 14 (-48.15%)
Mutual labels:  hex
hext
Markup language and tool for generating binary files
Stars: ✭ 23 (-14.81%)
Mutual labels:  hex
monobit
Tools for working with monochrome bitmap fonts
Stars: ✭ 124 (+359.26%)
Mutual labels:  hex
literate-binary
Integrate handcrafted binary and documentation
Stars: ✭ 37 (+37.04%)
Mutual labels:  hex
Xprof
A visual tracer and profiler for Erlang and Elixir.
Stars: ✭ 246 (+811.11%)
Mutual labels:  hex
R3ditor
An open-source project created to reverse-engineering some Resident Evil 3 files
Stars: ✭ 19 (-29.63%)
Mutual labels:  hex
Hex
🔮 Futuristic take on hexdump, made in Rust.
Stars: ✭ 242 (+796.3%)
Mutual labels:  hex
exe2hex
Inline file transfer using in-built Windows tools (DEBUG.exe or PowerShell).
Stars: ✭ 284 (+951.85%)
Mutual labels:  hex
ecto profiler
Project for Ecto DB profiling
Stars: ✭ 16 (-40.74%)
Mutual labels:  hex
ArduboyCollection
Collection of Arduboy compiled games, demos and applications. Fork the repo and add your own games via Pull requests.
Stars: ✭ 99 (+266.67%)
Mutual labels:  hex
shipit
ShipIt automates Hex package publishing to avoid common mistakes
Stars: ✭ 21 (-22.22%)
Mutual labels:  hex

Build Status Hex.pm Hex.pm

Accessible

Dead-simple Access behaviour for custom structs

Installation

Add accessible as a mix.exs dependency:

def deps do
  [
    {:accessible, "~> 0.3.0"}
  ]
end

Usage

Add use Accessible to your struct's module to enable Access behavior.

defmodule YourModule
  defstruct key: 1234, key_2: true
  
  use Accessible
  
  def your_function do
  ...
end

Your struct can now use all of the features of Access, including struct[:key] access syntax and Kernel nested get/update functions.

iex> %YourModule{}[:key]
1234
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].