Skip to content

Better data types #120

@ayushpatnaikgit

Description

@ayushpatnaikgit

Instead of Prior_Cauchy Prior_Gauss, etc

We should have

julia> abstract type Prior end

julia> struct Cauchy <: Prior end

julia> struct Gauss <: Prior end

Later on, you can have a function(::Prior), and you won't have to define it for every kind of Prior like function(::Prior_Cauchy), function(::Prior_Gauss), etc.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions