Popularity
0.8
Growing
Activity
0.0
Stable
4
2
0
Monthly Downloads: 12
Programming language: Elixir
License: MIT License
Tags:
Macros
backports alternatives and similar packages
Based on the "Macros" category.
Alternatively, view backports alternatives based on common mentions on social networks and blogs.
-
typed_struct
An Elixir library for defining structs with a type without writing boilerplate code. -
shorter_maps
Elixir ~M sigil for map shorthand. `~M{id, name} ~> %{id: id, name: name}` -
eventsourced
Functional domain models with event sourcing in Elixir -
ok_jose
Pipe elixir functions that match ok/error tuples or custom patterns. -
crudry
Elixir library for DRYing CRUD in Phoenix Contexts and Absinthe Resolvers. -
pipe_to
The enhanced elixir pipe operator which can specify the target position -
pattern_tap
Macro for tapping into a pattern match while using the pipe operator -
pipe_here
An Elixir macro for easily piping arguments at any position. -
rulex
This tiny library (2 macros only) allows you to define very simple rule handler using Elixir pattern matching. -
guardsafe
Macros expanding into code that can be safely used in guard clauses. -
apix
Simple convention and DSL for transformation of elixir functions to an API for later documentation and or validation. -
Bang
Bang simply adds dynamic bang! functions to your existing module functions with after-callback.
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Promo
www.influxdata.com
Do you think we are missing an alternative of backports or a related project?
Popular Comparisons
README
Backports
Tooling to make it possible to run "new" code in old Elixir versions.
Currently the following functions not available before 1.3 can be backported:
String.trim
String.to_charlist
String.pad_leading
String.pad_trailing
can replacetrim
andto_charlist
functions which were not available prior to Elixir 1.3.
Installation
If available in Hex, the package can be installed
by adding backports
to your list of dependencies in mix.exs
:
def deps do
[{:backports, "~> 0.2.0"}]
end
Usage
Whatever module uses a function that is not available, just include Backports
This code will work in Elixir 1.1 and 1.2
defmodule Foo do
use Backports
def bar do
String.trim(" amazing ")
end
end