æè¿Elixirã人æ°ã§ããããErlang VMä¸ã§OTPã®æ©æµãåããªããç°¡æ½ãªè¨æ³ã§ä¸¦è¡å¦çãæ¸ããè¨èªã¨ãããã¨ã§è©±é¡ã«ãªã£ã¦ãã¾ããª? Elixirã¯é¢æ°åããã°ã©ãã³ã°ã®ã¨ãã»ã³ã¹ãåãå
¥ãã¦ããã¨è¨ããã¦ããããã®ã²ã¨ã¤ã«Pipeæ¼ç®å(|>) ãããã Enumerables and Streams - Elixir Kernel â Elixir v1.1.1 Pipeæ¼ç®å(|>)ã¨ã¯ä½ãã¨ããã¨ã左辺ã®å¤ãå³è¾ºã®é¢æ°ã®ç¬¬1å¼æ°ã«é©ç¨ããæ¼ç®åã iex> [1, [2], 3] |> List.flatten() [1, 2, 3] ä¸è¨ã®ã³ã¼ãã¯ã左辺ã®[1, [2], 3] ã å³è¾ºã® List.fatten(list) ã®å¼æ°ã¨ãã¦æ¸¡ãã ãã®Pipeæ¼ç®åã¯ãStream ã¢ã¸ã¥ã¼ã«ãªã©ã¨åããã¦å©ç¨ããã¨ãã¼ã¿ãå·¦ããå³ã¸æµãã¦ãã模æ§ãã³ã¼ãã¨ãè¦è¦åãã
{{#tags}}- {{label}}
{{/tags}}