並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 4 件 / 4件

新着順 人気順

fibonacciの検索結果1 - 4 件 / 4件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

fibonacciに関するエントリは4件あります。 scalamath などが関連タグです。 人気エントリには 『DottyのMatch Typeを使ってコンパイル時にFibonacciを計算する - xuwei-k's blog』などがあります。
  • DottyのMatch Typeを使ってコンパイル時にFibonacciを計算する - xuwei-k's blog

    見た目通りで、あまり難しくないので、特に説明することがない。 macroさえ使わずに書けますね。 shapelessにあったような色々な機能が標準で装備されています。 みなさん、Match Type使ってもっと複雑な色々な計算書いてみましょう。 ちなみに、この単純な実装だと、大きい数渡すと(コンパイル時に)大変なことになるのでご注意ください。 plugins.sbt addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.4.1") build.sbt scalaVersion := "0.26.0-RC1" Main.scala package example import scala.compiletime.ops.int.{-, +} import scala.compiletime.testing.{typeChecks, typeCheckE

      DottyのMatch Typeを使ってコンパイル時にFibonacciを計算する - xuwei-k's blog
    • The Fibonacci Sequence as a Functor

      Over the years, the articles on this blog have spanned a wide range of audiences, from fun facts (Multiplying Non-Numbers), to undergraduate level (The First Isomorphism Theorem, Intuitively), to graduate level (What is an Operad?), to research level. Today's article is more on the fun-fact side of things, along with—like most articles here—an eye towards category theory. So here's a fun fact abou

        The Fibonacci Sequence as a Functor
      • Loose thoughts: Saying bye to 4px spacing and hello to Fibonacci

        Loose thoughts: Saying bye to 4px spacing and hello to Fibonacci I have a consistent routine when I work with a new designer. I head to Google, search "8px grid Medium.com", pull up Elliot Dahl's comprehensive guide and send it to them. Here's the guide: <https://medium.com/built-to-adapt/intro-to-the-8-point-grid-system-d2573cde8632>. This guide is fantastic, and would highly recommend. I have, u

          Loose thoughts: Saying bye to 4px spacing and hello to Fibonacci
        • Rust on the MOS 6502: Beyond Fibonacci (18 September 2021)

          18 September 2021 (programming rust llvm c64 retro chip-8) On August 15th, the following answer showed up on the Retrocomputing Stack Exchange site: llvm-mos compiles a considerable subset of C++ to 6502 machine code out of the box. IIRC it's just missing "runtime support"; things like RTTI, exceptions, and the runtime layout of VTables. [...] I came across this answer about a week later, so just

          1

          新着記事