how to use variable for @include name inide @each loop SCSS
<p>I want to replace this SCSS code with @each usage.</p>

<pre><code>body{
  @include us(){
    @include define-breakpoint("us")
  }
  @include xs(){
    @include define-breakpoint("xs")
  }
  @include sm(){
    @include define-breakpoint("xs")
  }
  @include md(){
    @include define-breakpoint("md")
  }
  @include lg(){
    @include define-breakpoint("lg")
  }
  @include xl(){
    @include define-breakpoint("xl")
  }
}
</code></pre>

<p>When I use @each function compiler throws out an error - invalid css with @include <strong>#{$bp}</strong>(){...}</p>

<pre><code>$list: us xs sm md lg xl;
  @each $bp in $list{
    body{
    @include #{$bp}(){
      @include define-breakpoint("#{$bp}")
    }
    }
  }
</code></pre>

<p>Does everybody know how to handle this error?
Appreciate any help</p>