Skip to content

Commit

Permalink
[ES] Update spanish translation of basics lesson 1.2.1 (elixirschool#…
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinallenz authored and doomspork committed Feb 26, 2019
1 parent 041ef0f commit 4af926a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions es/lessons/basics/basics.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.1.2
version: 1.2.1
title: Básico
---

Expand Down Expand Up @@ -90,7 +90,8 @@ false

### Átomos

Un átomo es una constante cuyo nombre es su valor, si estás familiarizado con Ruby estos son equivalentes a los Símbolos:
Un átomo es una constante cuyo nombre es su valor.
Si estás familiarizado con Ruby estos son equivalentes a los Símbolos:

```elixir
iex> :foo
Expand Down Expand Up @@ -145,13 +146,15 @@ iex> "foo\nbar"
"foo\nbar"
```

Elixir también incluye tipos de datos más complejos. Aprenderemos más sobre ellos cuando veamos [collecciones](../collections/) y [funciones](../functions/).
Elixir también incluye tipos de datos más complejos.
Aprenderemos más sobre ellos cuando veamos [collecciones](../collections/) y [funciones](../functions/).

## Operaciones Básicas

### Aritmética

Elixir soporta los operadores básicos `+`, `-`, `*`, y `/` como era de esperarse. Es importante resaltar que `/` siempre retornará un número con coma flotante:
Elixir soporta los operadores básicos `+`, `-`, `*`, y `/` como era de esperarse.
Es importante resaltar que `/` siempre retornará un número con coma flotante:

```elixir
iex> 2 + 2
Expand Down Expand Up @@ -209,6 +212,8 @@ iex> not 42
** (ArgumentError) argument error
```

Nota: Los operadores de Elixir `and` y `or` en realidad mapean a `andalso` y `orelse` de Erlang.

### Comparación

Elixir viene con todos los operadores de comparación a los que estamos acostumbrados: `==`, `!=`, `===`, `!==`, `<=`, `>=`, `<` y `>`.
Expand Down

0 comments on commit 4af926a

Please sign in to comment.