Type level implementation of Peano numbers in Rust

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • In this screencast, I'm leveraging Rust's type system by defining Peano numbers using Rust's structs and traits, and exploring some fundamental arithmetic operations.
    The code for the video: github.com/mag...

Комментарии • 1

  • @_glowlight_8583
    @_glowlight_8583 3 месяца назад +1

    Круто, не догадывался, что настолько просто можно реализовать факториал на уровне типов Rust. Спасибо за видео.