core.typed is an optional static type system for Clojure, providing gradual typing features like type declarations, checking, and inference. It supports modules for development-time checking and runtime typing, though note that it's deprecated as of Clojure 1.11 in favor of Typed Clojure. core.typed is separated into modules. You'll want the full type checker at development time, and the runtime dependencies in production. Then, lein repl will automatically activate the :dev profile. Verify the type checker is not included in uberjars with lein with-profile uberjar deps :tree.

Features

  • Optional static type checking using type annotations in Clojure
  • Provides separate modules for development (checker) and runtime (runtime.jvm)
  • Offers macros and functions to annotate and check namespaces (check-ns, etc.)
  • Supports both JVM Clojure and has planned—but unreleased—JS targets (analyzer.js, checker.js)
  • Facilitates gradual typing JavaScript-like environments in Clojure
  • Encourages more type safety in dynamic codebases, though uptake has been limited

Project Samples

Project Activity

See All Activity >

Categories

System

License

Eclipse Public License

Follow core.typed

core.typed Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of core.typed!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Registered

2025-08-20