Elixir Tip
Favorites
Most Shared
Resources
Tips 2014
2015 >
Many of these #erlang coding standards apply to #elixirlang too.
[Link]
Shares:
5
Likes:
3
2014-12-30
Make your New Year’s resolution to learn #elixirlang.
Shares:
4
Likes:
6
2014-12-29
Give the gift of Elixir to someone this year. Give away copy of Programming Elixir.
[Link]
Shares:
2
Likes:
1
2014-12-23
Hex is a package manager for publishing and sharing reusable erlang and #elixirlang components.
[Link]
Shares:
11
Likes:
5
2014-12-16
50% off the paperback version of Programming Elixir. Today only.
[Link]
Shares:
5
Likes:
3
2014-12-15
Erlang 17.4 is released.
[Link]
Shares:
3
Likes:
2
2014-12-11
A community-maintained Elixir style guide
[Link]
Shares:
13
Likes:
10
2014-12-10
Don’t forget, this week is #HourOfCode. Teach someone some #elixirlang
[Link]
Shares:
3
Likes:
1
2014-12-08
Next week is #HourOfCode. Spend an hour next week teaching someone
@elixirlang
.
[Link]
Shares:
1
Likes:
2
2014-12-05
Phoenix has it’s own website now
[Link]
Also, Phoenix has a mailing list
[Link]
Shares:
12
Likes:
7
2014-12-04
Check out
@MostlyErlang
for some great podcasts about Erlang. There are some Elixir podcasts too.
[Link]
Shares:
6
Likes:
1
2014-12-03
Elixir Conf Europe CFP is now open.
[Link]
Shares:
3
Likes:
2
2014-12-01
Still haven’t bought Programming Elixir? Get it now 50% off with code turkey2014.
[Link]
Shares:
23
Likes:
3
2014-11-24
Structs can be pattern matched in function parameters, ex:
def do_stuff(%Person{name: n}) when n == “ElixirTip”, do: …
Shares:
3
Likes:
1
2014-11-20
Meta-programming + EEx + comprehensions makes #elixirlang a powerful yet simple code generator.
[Link]
Shares:
1
Likes:
3
2014-11-17
`var!/1` and `var!/2` can be used to explicitly make macros unhygienic. This means data is shared between macros/code
[Link]
Shares:
0
Likes:
0
2014-11-14
The #elixirlang community has been fairly quiet lately. What have you all done with Elixir since 1.0 was released?
Shares:
1
Likes:
3
2014-11-12
My implementation of Conway’s Game of Life for
@elixir_quiz
. #MyElixirStatus
[Link]
Shares:
3
Likes:
2
2014-11-11
Just for fun I wrote a Mastermind game in ~100 lines of Elixir. It demonstrates much of Elixir’s syntax.
[Link]
Shares:
7
Likes:
10
2014-11-10
If
@pragdave
’s recent article sparked your interest in Elixir macros, check out
@sasajuric
’s 6-part article on macros
[Link]
Shares:
12
Likes:
11
2014-11-06
Where possible, use finite state machines. They limit your code’s possible states, ease testing, and fit well with pattern matching.
Shares:
7
Likes:
7
2014-11-04
There is nothing scarier on Halloween than trying to build a concurrent system with threads and semaphores. Use #elixirlang instead.
Shares:
27
Likes:
17
2014-10-31
You can now help support ParallEx using Flattr and Bitcoin. #MyElixirStatus
[Link]
Shares:
1
Likes:
4
2014-10-30
Regexes can be created with `Regex.compile!` or the sigil shorthand.
`Regex.compile!(“Elixir.*”) == ~r”Elixir.*”`
[Link]
Shares:
3
Likes:
5
2014-10-30
A fun use of Elixir and email. \cc
@HashNuke
Shares:
0
Likes:
1
2014-10-28
I completely missed that Elixir v1.0.2 was released two days ago.
[Link]
Shares:
6
Likes:
2
2014-10-23
Functions can be inlined by using the `
@compile
` attribute. Inlining *may* improve the running time of some code.
[Link]
Shares:
2
Likes:
2
2014-10-22
Here’s a great article on implementing full text search in Erlang:
[Link]
Shares:
5
Likes:
7
2014-10-21
Programming Elixir is now in print! Thanks
@pragdave
.
[Link]
Shares:
11
Likes:
6
2014-10-16
Xcode 6 obscured the simulator’s file paths. So, I wrote an Elixir script that finds everything. #MyElixirStatus
[Link]
Shares:
3
Likes:
2
2014-10-16
Want to use #elixirlang with #docker?
@trenpixster
is good at keeping an up-to-date image.
[Link]
Shares:
7
Likes:
10
2014-10-13
Supervisors have several supervising strategies:
`:one_for_one`
`:one_for_all`
`:rest_for_one`
`:simple_one_for_one`
Shares:
1
Likes:
0
2014-10-09
I deleted a lot of code from ParallEx. It’s now faster and simpler! #myelixirstatus
[Link]
Shares:
1
Likes:
1
2014-10-08
Elixir v1.0.1 has been released.
[Link]
Shares:
6
Likes:
3
2014-10-07
Transforming data is easier to think about than maintaining state.
–
@pragdave
[Link]
Shares:
2
Likes:
3
2014-10-06
The `after` clause of `receive` may be given a positive integer or `:infinity`. This is particularly useful for `Task.await/2`.
Shares:
0
Likes:
0
2014-10-03
Great comparison of NoSQL databases. Includes four Erlang-based databases.
[Link]
Shares:
15
Likes:
8
2014-10-02
See trending Elixir repos on Github:
[Link]
Shares:
1
Likes:
3
2014-10-01
The `Inspect.Opts` module has several options for changing what `inspect` prints.
[Link]
Shares:
3
Likes:
0
2014-09-29
Some of the #ChicagoErlang videos have been posted.
[Link]
Shares:
2
Likes:
5
2014-09-27
The benchmarks for #ParallEx are improving! :) #MyElixirStatus
[Link]
Shares:
1
Likes:
0
2014-09-27
Here are some short introductory videos to Elixir.
[Link]
Shares:
8
Likes:
9
2014-09-27
Check out
@elixir_quiz
for weekly programming problems to learn Elixir.
[Link]
Shares:
10
Likes:
7
2014-09-26
A few tips for writing better Elixir code:
[Link]
Shares:
3
Likes:
1
2014-09-25
I’ve been running benchmarks on ParallEx. Some of the results look promising. #myelixirstatus
[Link]
[Link]
Shares:
2
Likes:
2
2014-09-24
Get discounted Elixir stickers here:
[Link]
Shares:
1
Likes:
1
2014-09-23
Tasks can be easily added to a supervision tree by using the Task.Supervisor module.
[Link]
Shares:
2
Likes:
0
2014-09-19
The official Elixir 1.0.0 announcement is out!
[Link]
Shares:
14
Likes:
4
2014-09-18
Interested in working with #elixirlang, Phoenix, and #IoT?
@lonodevices
is looking for a dev, remote is OK.
[Link]
Shares:
7
Likes:
12
2014-09-18
ExProf is a simple profiler that wraps around eprof.
[Link]
Shares:
1
Likes:
0
2014-09-17
If you can’t convince your co-workers to use Erlang or Elixir, have them try LFE.
[Link]
Shares:
8
Likes:
14
2014-09-17
Plug serves as a composable adapter between web servers and web applications.
[Link]
Shares:
3
Likes:
2
2014-09-15
Today is a great day to announce that I have released ExSkel, an
@elixirlang
wrapper around Erlang’s skel library.
[Link]
Shares:
6
Likes:
6
2014-09-11
It’s a great day! Elixir 1.0.0 has been released! Celebrate by installing it today!
[Link]
Shares:
58
Likes:
20
2014-09-10
Elixir v1.0.0 RC 2 adds <~, ~>, <<~, ~>>, <~>, and <|> as available operators.
Shares:
2
Likes:
1
2014-09-09
Elixir 1.0.0 RC2 was released over the weekend.
[Link]
Shares:
5
Likes:
2
2014-09-08
`alias
[Link]
`
is the same as
`alias
[Link]
, as: Name`
Shares:
0
Likes:
2
2014-09-05
Elixir 1.0.0 RC 2 is planned to be released this weekend, then the final release on September 10!
[Link]
Shares:
6
Likes:
0
2014-09-04
If your code is written well, then your tests become part of your documentation.
Shares:
2
Likes:
0
2014-09-03
Elixir 1.0.0 RC 1 was released over the weekend.
[Link]
Shares:
10
Likes:
2
2014-09-02
`receive` can be given a timeout. This prevents the process from being blocked indefinitely. Ex:
receive do
after 1000 -> “Timed out”
end
Shares:
0
Likes:
1
2014-08-27
Become well acquainted with Higher Order Functions (HOF), especially those in the Stream and Enum modules, for example map, filter, reduce.
Shares:
0
Likes:
1
2014-08-26
Data structures are important. Check out this Relaxed Radix B-tree implementation by
@rcillo
(work in progress).
[Link]
Shares:
1
Likes:
2
2014-08-25
`use Module, params` invokes the `__using__` function or macro in `Module`. This is great for extending functionality.
Shares:
0
Likes:
2
2014-08-19
If the first operand of the `&&` operator is falsy, then that value is returned.
`nil && “Hello” # => nil`
`false && “World” # => false`
Shares:
0
Likes:
1
2014-08-18
The `||` operator can be used for coalescing falsy values.
`nil || false || "Howdy" # => "Howdy"`
Shares:
4
Likes:
13
2014-08-14
Visualize Elixir processes with Ubigraph by
@bentanweihao
[Link]
Shares:
15
Likes:
11
2014-08-13
I just posted my parallel collections to show the state of my work. It’s not much, but it’s a start.
[Link]
#MyElixirStatus
Shares:
1
Likes:
2
2014-08-12
Elixir v0.15.1 was released over the weekend.
[Link]
Shares:
4
Likes:
0
2014-08-11
#ElixirConf videos are beginning to show up on
@confreaks
[Link]
Shares:
11
Likes:
8
2014-08-07
Making Mix tasks is easy:
defmodule Mix.Tasks.Hello do
use Mix.Task
def run(_) do
[Link]
"hello"
end
end
Shares:
1
Likes:
4
2014-08-06
The new Logger module has four levels of messages: debug, info, warn, and error. Logger provides convenient macros.
[Link]
Shares:
5
Likes:
6
2014-08-05
Elixir v0.15.0 was released over the weekend.
[Link]
Shares:
5
Likes:
3
2014-08-04
Wildcard pattern matching works with binaries too:
`"===" <> _ = "==========="`
Shares:
2
Likes:
2
2014-08-01
Erlang on Xen uses LING, an alternative to BEAM. LING can be booted quickly making it great for elastic services.
[Link]
Shares:
6
Likes:
4
2014-07-31
`IO.inspect` prints *and* returns its argument. Use it in the middle of pipelines to print the value at that point.
Shares:
7
Likes:
10
2014-07-30
If you haven’t seen it yet,
@johnny_rugger
is writing a book:
@elixir4rubyists
. Sign up for updates here:
[Link]
Shares:
0
Likes:
2
2014-07-29
It’s easy to create supervision trees with Tasks using the Task.Supervisor module.
Shares:
0
Likes:
1
2014-07-28
Welcome to all my new followers from #ElixirConf.
Shares:
0
Likes:
1
2014-07-28
Working on my parallel collections at the Austin airport. I’ve had a breakthrough, though I still have a lot of work to do. #MyElixirStatus
Shares:
1
Likes:
1
2014-07-27
Create a process for every concurrent action. -
@FrancescoC
#ElixirConf
Shares:
0
Likes:
3
2014-07-26
After a great lunch we now get to hear from
@redrapids
speaking about “Fear and the Evolution of Languages” #ElixirConf
Shares:
0
Likes:
0
2014-07-26
Systems built with Erlang tend to be very OS like. -
@rvirding
#ElixirConf
Shares:
3
Likes:
4
2014-07-26
.
@augiedb
hard at work on his next Elixir logo drawing.
[Link]
Shares:
2
Likes:
1
2014-07-26
After the break we will hear from
@chris_mccord
talking about Phoenix.
[Link]
#ElixirConf
Shares:
0
Likes:
1
2014-07-26
A great talk from
@josevalim
. Next up is
@rvirding
speaking about Erlang Rationale. #ElixirConf
Shares:
0
Likes:
0
2014-07-26
Macros aren't about code injecting/generating code. Macros are about code transforming code. -
@josevalim
#ElixirConf
Shares:
2
Likes:
0
2014-07-26
Next is
@devinus
sharing the excitement of Elixir. #ElixirConf
Shares:
0
Likes:
0
2014-07-26
Clearly no one uses Erlang. ;) #ElixirConf
[Link]
Shares:
69
Likes:
32
2014-07-26
The C10k problem was trivial for us. -
@rvirding
[Link]
Shares:
0
Likes:
1
2014-07-26
Next is
@MSch
talking about OTP in production game servers. #ElixirConf
Shares:
0
Likes:
1
2014-07-26
Now we will hear from
@FrancescoC
. He is speaking about thinking in a concurrent, mostly-functional language.
Shares:
0
Likes:
0
2014-07-26
The concurrency model is where you really need to change your thinking, more than the syntax. #ElixirConf
Shares:
1
Likes:
1
2014-07-26
First we will hear from
@josevalim
for our closing keynote. #ElixirConf
Shares:
0
Likes:
1
2014-07-26
Another great meal at #ElixirConf
[Link]
Shares:
0
Likes:
0
2014-07-26
Great talks, cool devs, and delicious food. This has been the best #ElixirConf ever.
Shares:
6
Likes:
9
2014-07-26
Parts may crash and burn, but the system must never go down. -
@rvirding
#ElixirConf
Shares:
5
Likes:
1
2014-07-26
Concurrency is hard when the burden is on the developer. -
@redrapids
#ElixirConf
Shares:
5
Likes:
2
2014-07-26
I just updated my notes for #ElixirConf 2014. I included links to slides and such where possible.
[Link]
Shares:
6
Likes:
12
2014-07-26
Elixir is a free restart. Don't reinvent the past. Invent a new future. -
@pragdave
#ElixirConf
Shares:
8
Likes:
2
2014-07-25
Up next is
@filipevarjao
talking about evaluating performance. #ElixirConf
Shares:
2
Likes:
2
2014-07-25
Ready for #ElixirConf
[Link]
Shares:
1
Likes:
2
2014-07-25
Now for
@emjii
talking about Hex. #ElixirConf
Shares:
0
Likes:
0
2014-07-25
Lunch is looking good. #ElixirConf
[Link]
Shares:
4
Likes:
2
2014-07-25
Now we’re going to talk about robots. -
@knewter
#ElixirConf
Shares:
3
Likes:
4
2014-07-25
.
@knewter
is now introducing Elixir for our Ruby friends. #ElixirConf
Shares:
0
Likes:
2
2014-07-25
.
@rbondev
is now up at #ElixirConf telling about his experiences with Elixir.
Shares:
0
Likes:
0
2014-07-25
A short break, then we will hear from
@gregvaughn
about “Elixir Elevated.” #ElixirConf
Shares:
1
Likes:
0
2014-07-25
The last speaker of the day, Stephen Pallen is talking about Elixir in an Enterprise Telecommunications Product. #ElixirConf
Shares:
1
Likes:
2
2014-07-25
Anyone planning on doing anything in the Elixir Maker’s room? It’s just me at the moment. #ElixirConf
Shares:
0
Likes:
0
2014-07-25
For those of you back home, watch the hash tag #ElixirConf today and tomorrow.
Shares:
1
Likes:
0
2014-07-25
Got in really late last night. Two malfunctioning planes couldn’t keep me away from #ElixirConf.
Shares:
0
Likes:
1
2014-07-25
Up next is
@st23am
talking about command line apps with Elixir. #ElixirConf
Shares:
0
Likes:
1
2014-07-25
105 attendees at the first #ElixirConf.
Shares:
4
Likes:
3
2014-07-25
I just posted my notes from the first day of #ElixirConf. Enjoy!
[Link]
Shares:
7
Likes:
8
2014-07-25
Two days until
@ElixirConf
. Don’t forget to review the schedule. There’s a great lineup of speakers.
[Link]
Shares:
2
Likes:
2
2014-07-23
I just realized that my flight back home from
@ElixirConf
arrives at 4:04. I hope that doesn’t mean my plane will be “Not Found.” ;)
Shares:
0
Likes:
2
2014-07-22
I’ve heard a lot of confusion about Tasks vs. Futures vs. Promises. Here’s an article that clears some confusion.
[Link]
Shares:
4
Likes:
7
2014-07-21
One week to
@ElixirConf
. Do you have your ticket yet?
Shares:
2
Likes:
2
2014-07-18
The DocTest module allows for tests to be written right into your documentation.
[Link]
Shares:
1
Likes:
1
2014-07-18
elixir-pipes allows for the pipe operator to be extended.
[Link]
Shares:
3
Likes:
5
2014-07-16
Early bird tickets for
@ElixirConf
are done, but don’t let that stop your from attending the first Elixir conference.
[Link]
Shares:
2
Likes:
0
2014-07-14
Both the Macro and Code modules are useful for writing powerful macros.
[Link]
[Link]
Shares:
0
Likes:
2
2014-07-08
Get comfortable with recursion. FP languages use it extensively. Often code is more concise and readable, especially with guard clauses.
Shares:
0
Likes:
1
2014-07-07
Mix supports umbrella projects, which can host many Elixir applications.
[Link]
Shares:
4
Likes:
2
2014-07-04
The EEx module allows Elixir code to be embedded in a string and evaluated.
[Link]
Shares:
0
Likes:
0
2014-07-02
Phoenix now has a view layer.
[Link]
Shares:
0
Likes:
1
2014-07-01
Elixir v0.14.2 was released over the weekend.
[Link]
Shares:
5
Likes:
1
2014-06-30
Elixir may appear a lot like Ruby, but it doesn’t perform the same /cc
@chris_mccord
[Link]
Shares:
6
Likes:
9
2014-06-27
Erlang 17.1 has been released.
[Link]
Shares:
0
Likes:
0
2014-06-26
.
@pragprog
’s new 7 languages in 7 weeks book includes #elixirlang.
[Link]
Shares:
3
Likes:
1
2014-06-25
Use :observer.start to get detailed, live reports on your running processes.
Shares:
0
Likes:
2
2014-06-24
GenEvent can create a Stream of events.
[Link]
Shares:
0
Likes:
1
2014-06-22
The GenEvent module is used for making event handlers.
[Link]
Shares:
0
Likes:
0
2014-06-22
A Mix/OTP guide has been added to the getting started docs.
[Link]
Shares:
7
Likes:
6
2014-06-19
The schedule for
@ElixirConf
has been posted.
[Link]
Shares:
0
Likes:
0
2014-06-18
The Agent module is great for making abstractions around state. This state can be easily shared with other processes.
[Link]
Shares:
1
Likes:
0
2014-06-18
Those of you who have open source projects, please keep up-to-date with the latest version of Elixir, especially for major releases.
Shares:
0
Likes:
0
2014-06-18
Elixir v0.14.1 has been released.
[Link]
Shares:
2
Likes:
1
2014-06-18
.
@sasajuric
has a great series on
@elixirlang
macros.
*
[Link]
*
[Link]
*
[Link]
Shares:
13
Likes:
11
2014-06-16
The Task module is great for spawning asynchronous jobs.
[Link]
Shares:
2
Likes:
0
2014-06-14
When generating a finite collection, try expressing it as a for comprehension first. Often your code will be clearer and more concise.
Shares:
0
Likes:
0
2014-06-13
Truth values are simple aliases true = :true, false = :false, and nil = :nil
Shares:
0
Likes:
0
2014-06-10
…and I’m back. Elixir v0.14.0 was released this weekend. Check it out.
[Link]
Shares:
2
Likes:
0
2014-06-09
I’m at WWDC this week, so there may not be any tips this week. If you want a new language to chew on, try Swift:
[Link]
Shares:
0
Likes:
1
2014-06-02
Before writing something in Elixir, check if it already exists in Erlang. The Erlang community has much to offer.
Shares:
3
Likes:
2
2014-05-30
Even if Elixir isn’t your primary language, it’s great for writing quick scripts for data processing and interacting with web APIs.
Shares:
0
Likes:
4
2014-05-29
Ecto is a DSL for interacting with databases in
@elixirlang
.
[Link]
Shares:
3
Likes:
1
2014-05-27
I just bought my ticket for ElixirConf. See you all in July.
Shares:
0
Likes:
1
2014-05-27
Elixir v0.13.3 has been released.
[Link]
Shares:
10
Likes:
2
2014-05-24
Have a question about
@elixirlang
? Post it to the talk forum:
[Link]
Shares:
0
Likes:
0
2014-05-23
.
@elixirlang
also has an IRC channel. irc://irc.freenode.net/elixir-lang
Shares:
0
Likes:
1
2014-05-23
Mac users can use Dash to easily search Elixir docs. The docs are updated very quickly with each release.
[Link]
Shares:
10
Likes:
7
2014-05-23
Want to talk about
@elixirlang
features? Check out the core forum:
[Link]
Shares:
0
Likes:
0
2014-05-23
ElixirConf speakers have been announced.
[Link]
Shares:
0
Likes:
0
2014-05-21
There are 5 stages of learning Erlang. For Elixir, I would add a stage for macros.
[Link]
Shares:
5
Likes:
8
2014-05-20
I gave an introduction to
@elixirlang
last week. Enjoy!
[Link]
Shares:
1
Likes:
5
2014-05-19
Elixir code for Parrot AR Drone and Sphero:
[Link]
[Link]
Shares:
4
Likes:
2
2014-05-16
Making a web app? Check out
*
[Link]
*
[Link]
*
[Link]
*
[Link]
Shares:
4
Likes:
14
2014-05-15
Find Elixir users and meet ups in your area:
[Link]
and
[Link]
Shares:
0
Likes:
0
2014-05-13
Simple code generation:
defmodule MyModule do
Enum.each(%{a: 1, b: 2}, fn {k, v} ->
def unquote(k)(), do: unquote(v)
end)
end
Shares:
0
Likes:
0
2014-05-12
Elixir v0.13.2 has been released.
[Link]
Shares:
1
Likes:
1
2014-05-12
Elixir Tip is not to be confused with Elixir Trip. ;)
Shares:
0
Likes:
0
2014-05-12
Prag Prog’s Elixir cheat sheet has been updated to v0.13.
[Link]
Shares:
4
Likes:
5
2014-05-09
Hex replaces Expm as Elixir’s package manager.
[Link]
Shares:
4
Likes:
2
2014-05-08
Erlang Solutions has a YouTube channel with many great videos.
[Link]
Shares:
2
Likes:
4
2014-05-05
Speakers are starting to be announced for
@ElixirConf
. Watch the tag #ElixirConf2014 as more details unfold.
Shares:
2
Likes:
6
2014-05-04
.
@bentanweihao
is writing a book on Elixir and OTP. Go to
[Link]
to sign up for updates.
Shares:
3
Likes:
1
2014-05-04
Tired of typing a long module name, use `alias` to shorten it.
Shares:
0
Likes:
1
2014-05-03
Check out
@elixirsips
for biweekly videos about Elixir. Subscription costs $9/mo which includes 73 previous videos.
[Link]
Shares:
4
Likes:
1
2014-05-02
Elixir has sigils for regexes, strings, char lists, and word splitting. Custom sigils may also be created.
[Link]
Shares:
0
Likes:
0
2014-04-30
The function capture operator is great for short, common functions. For example,
`fn x, y -> x + y end`
is the same as
`&(&1 + &2)`
Shares:
2
Likes:
1
2014-04-28
Elixir 0.13 replaced list and bit comprehensions with for comprehensions. Comprehensions now work on any Collectable.
[Link]
Shares:
1
Likes:
1
2014-04-27
Elixir records have been replaced by structs.
[Link]
Shares:
0
Likes:
0
2014-04-27
Don’t miss out on the first ever ElixirConf July 25-26. Speaker proposals are still open too.
[Link]
Shares:
4
Likes:
0
2014-04-25
Sign up for the weekly community news letter from
@elixirfountain
.
[Link]
Shares:
4
Likes:
3
2014-04-24
Follow
@ElixirTip
for daily
@elixirlang
tips.
Shares:
1
Likes:
0
2014-04-23
Elixir 0.13 includes a new Collectable protocol. It’s used for traversing and inserting values into data structures.
[Link]
Shares:
0
Likes:
0
2014-04-23
Elixir’s Getting Started Guide has been rewritten from scratch for the 0.13 release.
[Link]
Shares:
0
Likes:
0
2014-04-21
Elixir 0.13.0 has been released.
[Link]
Shares:
0
Likes:
0
2014-04-20
Install Erlang 17 and wxWidgets 64-bit on Mac OS X Mavericks
[Link]
Shares:
0
Likes:
0
2014-04-20
Elixir protocols can be used to create polymorphism.
Shares:
0
Likes:
0
2014-04-19
To use a macro from another module, use `require ModuleName`.
Shares:
0
Likes:
0
2014-04-18
Tuples act like arrays. They can be created with :erlang.make_tuple/2. Elements can be get/set with Kernel.elem/2 and Kernel.set_elem/3
Shares:
0
Likes:
0
2014-04-17
Elixir can call into Erlang with no overhead:
`:timer.apply_after 1000, IO, :puts, ["Elixir"]`
Shares:
0
Likes:
0
2014-04-15
Want to run Elixir on a Raspberry Pi? Check out
[Link]
Shares:
0
Likes:
0
2014-04-14
Regex matching is built into Elixir:
`"100110010" =~ ~r"^[10]+$"`
Shares:
0
Likes:
0
2014-04-13
The Stream module lets you work with infinite sequences. For example Fibonacci:
`Stream.unfold({0, 1}, fn {a, b} -> {a, {b, a + b}} end)`
Shares:
0
Likes:
0
2014-04-12
Interactively test your Elixir apps with iex by using `iex -S mix compile`.
Shares:
0
Likes:
0
2014-04-11
Erlang 17.0 was released today. Elixir 0.13 will be released soon.
[Link]
Shares:
0
Likes:
0
2014-04-10
The first ever ElixirConf will be July 25-26 in Austin, TX. Also, speaker proposals are open until April 16.
[Link]
Shares:
0
Likes:
0
2014-04-10
2015 >