From 8aaea7a433957ea3d234f0957afee784301e5903 Mon Sep 17 00:00:00 2001 From: Angelika Tyborska Date: Mon, 29 Jan 2024 13:15:06 +0100 Subject: [PATCH] Rewrite elixir file-sniffer analysis (#2306) --- analyzer-comments/elixir/file-sniffer/use_bitstring.md | 3 +++ .../elixir/file-sniffer/use_pattern_matching.md | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 analyzer-comments/elixir/file-sniffer/use_bitstring.md delete mode 100644 analyzer-comments/elixir/file-sniffer/use_pattern_matching.md diff --git a/analyzer-comments/elixir/file-sniffer/use_bitstring.md b/analyzer-comments/elixir/file-sniffer/use_bitstring.md new file mode 100644 index 000000000..43305b734 --- /dev/null +++ b/analyzer-comments/elixir/file-sniffer/use_bitstring.md @@ -0,0 +1,3 @@ +# use bitstring + +The purpose of this exercise is to practice bitstrings. Make sure to use the `<<>>` and `::` bitstring special forms in your solution. diff --git a/analyzer-comments/elixir/file-sniffer/use_pattern_matching.md b/analyzer-comments/elixir/file-sniffer/use_pattern_matching.md deleted file mode 100644 index f6495f2f8..000000000 --- a/analyzer-comments/elixir/file-sniffer/use_pattern_matching.md +++ /dev/null @@ -1,6 +0,0 @@ -# use patterm matching - -Even though there could be other valid ways to solve this exercise, -for the sake of mastering bitstrings please match the first few bytes of the -argument of `type_from_binary/1` with the special form `<<>>`. -