惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Last Week in AI
Last Week in AI
GbyAI
GbyAI
Apple Machine Learning Research
Apple Machine Learning Research
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
Netflix TechBlog - Medium
量子位
aimingoo的专栏
aimingoo的专栏
D
Docker
F
Fortinet All Blogs
T
Tailwind CSS Blog
V
V2EX
D
DataBreaches.Net
Google DeepMind News
Google DeepMind News
MyScale Blog
MyScale Blog
G
Google Developers Blog
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
Microsoft Security Blog
Microsoft Security Blog
Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
A
About on SuperTechFans
IT之家
IT之家

Elixir 编程语言

我就想看看 v 友有几个在用 elixir 的 Gleam 是一种类型安全且可扩展的语言,适用于 Erlang 虚拟机和 JavaScript 运行时。今天 Gleam v0.27.0 已经发布了 Elixir 语言 10 周年啦! Elixir GenStage & Flow 有对 Elixir 了解的同学吗?会不会成为替代 Python 和 JavaScript 的编程语言 Elixir 网络编程是真的舒服 [上海] 2017.9.23 Elixir Meetup [上海] 2017.5.21 周日 Elixir meetup [上海] 2017 年 3 月 25 日 Elixir Meetup 用 phoenix 重写了个站 Elixir v1.1.0 released elixir 尝试了下,感觉还不错 phoenix framework 今天凌晨到 v1.0.0 Elixir: 编程语言的未来 Elixir v1.0.0 released elixir语言,以ruby方式写erlang程序
LeetCode: 153. Find Minimum in Rotated Sorted Array
twig · 2024-05-03 · via Elixir 编程语言
defmodule Solution do
  @spec find_min(nums :: [integer]) :: integer
  def find_min(nums) do
    [head | tail] = nums
    tail
    |> Enum.reduce_while(
      head,
      fn item, acc ->
      if item < acc do
        { :halt, item }
      else
        { :cont, acc }
      end
    end)
  end
end